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 3565 - Not possible to insert anything into a handler method after complete body deleted.
Summary: Not possible to insert anything into a handler method after complete body del...
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-08-24 22:55 UTC by Jesse Glick
Modified: 2003-07-02 15:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 1999-08-24 22:55:50 UTC
Create an event handler method in the Form Editor, and then when you see the // Insert your code here line, delete the whole line.

It is then impossible to reinsert a newline between the opening and closing lines of the method.

You must open the source file in an external editor and insert a blank line for it to work again.
Comment 1 Marek Grummich 2000-07-25 09:20:59 UTC
Priority is changed to P4 (normal).
Comment 2 Marian Mirilovic 2001-01-15 14:03:59 UTC
verified in [nb31](34)
If you delete all lines between opening and closing lines of method, the reguard
block is spliting. If you now set cusrsor position on first character of closing
line, and push Enter, new line is inserted between opening and closing lines.
Comment 3 Quality Engineering 2003-07-02 15:44:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.