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 157291

Summary: Code Folding Performance
Product: editor Reporter: dudy <dudy>
Component: Code foldingAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Other   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dudy 2009-01-22 09:35:27 UTC
When Code Folding is active in a java source code file with more than 1k Lines and ~10 code foldings sections or so, editor 
performance degrades. When I scroll the text with the mouse wheel, scrolling starts only after a second, that scrolls fast. If I 
want to insert a new line (press Enter at the end of previous line), the system hangs for a second, then inserts the line.

the delay time gets bigger with more text in the file and more foldings. In a 5k line file with about a hundred foldings the IDE 
virtually hangs forever (restart required).

If I turn off code folding everythings works fine and fast, except I got no code folding :-( (which is a killer feature)

greetzs Dudy
Comment 1 Petr Dvorak 2009-01-22 09:52:35 UTC
Hi Dudy, it is probably the same issue as issue 157229 (reported by NB dev) - if you have some counter-evidence, please
reopen this issue. Thank you for the report anyway.



*** This issue has been marked as a duplicate of 157229 ***