This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70119 - refactor needs access to readonly lines
Summary: refactor needs access to readonly lines
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: HP Windows XP
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 00:29 UTC by goldenrod
Modified: 2010-09-23 08:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goldenrod 2005-12-09 00:29:43 UTC
Using cut & paste with a button object in the IDE, the automatically added event
for a button does not use the button name if it is renamed, but will use the
original and suffix "1", or concatenate the names and add "1". Thus, a button
named "btnAdd" that is pasted and renamed "btnMinus" will have an event added
named "...btnAddbtnMinusActionPerformed..." with some number of "1"'s suffixed.
Refactor won't change it because it's readonly. An option to allow editing of
the originally readonly lines would be a nice solution.