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 - Code Folding Performance
Summary: Code Folding Performance
Status: RESOLVED DUPLICATE of bug 157229
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 09:35 UTC by dudy
Modified: 2009-01-22 09:52 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 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 ***