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.
If you enter a method outside of a class, and pause while the source is in an incorrect state, you get exceptions. To reproduce, create a blank file, and type def t and pause for a second.
Fixed in the trunk - but I believe this should be fixed in the beta1 branch as well: IDE:------------------------------------------------- IDE: [9/4/07 10:47 AM] Committing started Checking in GsfFoldManager.java; /cvs/ruby/gsf/src/org/netbeans/modules/retouche/editor/fold/GsfFoldManager.java,v <-- GsfFoldManager.java new revision: 1.3; previous revision: 1.2 done IDE: [9/4/07 10:47 AM] Committing finished
I do not understand the editor code. But looks safely. So if you have not better reviewer take it as reviewed :) (PS: just change the target to beta1, after committed to the beta1 branch; it's fixed in trunk)
Thanks for the review. Fixed in release60_beta1: Checking in GsfFoldManager.java; /cvs/ruby/gsf/src/org/netbeans/modules/retouche/editor/fold/GsfFoldManager.java,v <-- GsfFoldManager.java new revision: 1.2.2.1; previous revision: 1.2 done
Verified in NB 6.0 Beta 1 (Build 200709070000).