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.
Using NetBeans 5.0 RC1 on JDK 1.5.0_06, Win2K. I'm didn't realized a reproducible steps, but I lost code I typed two times today (in about 2 hours of hard working with NetBeans editor). With comments folded, start typing fast, using code-completion (either auto- expand one option or choosing from suggestions), and in some point editor mess all the code (the plus sign appear at end or middle of lines - all the lines). Unique option is close discarding changes to not loose complete class.
Did the class you were working on contain any guarded block? If the license permits, can you attach the source code where this happened? Thanks.
I've tried to reproduce on Linux even on large JComponent-size java sources but it works fine. In the worst case the folds do not appear (if the parser gets seriously confused) but there is no dataloss. "(the plus sign appear at end or middle of lines - all the lines)" - do you mean the gutter with the plus signs is painted in the middle of the line? If so could you click back and forth into other app to check whether it's just sort of a redrawing issue? Ideally once the problem happens could you please attach a screenshot? Did you try to save the file (backing-up the old version in an extra file) whether the content is really lost? I'm asking because in NB editor the code folding is only a special visual representation so there are no characters physically inserted/removed in the underlying text buffer to achieve that.
No response yet, closing as worksforme.