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 22206

Summary: Unindenting in editor on block of text (CTRL-D) is surprisingly slow
Product: xml Reporter: _ tboudreau <tboudreau>
Component: Text-EditAssignee: _ pkuzel <pkuzel>
Status: CLOSED DUPLICATE    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 22789    
Bug Blocks:    

Description _ tboudreau 2002-04-08 21:55:20 UTC
Highlight an indented section of XML in a large file in 
the Code Editor and press CTRL-D.  Even with one or two 
screens of text, NetBeans hangs for several seconds while 
doing this processing.  Don't know whether this is an 
editor bug or an XML text editor bug, but I'm wondering if 
there is some kind of reparsing happening with each line 
that is modified.  Have not seen this performance problem 
when editing Java.
Comment 1 _ pkuzel 2002-06-03 14:58:31 UTC
You are right, module listens on Document changes and propagate them
into tree model immediatelly.

It is covered by "large files" umbrella bug.

*** This issue has been marked as a duplicate of 22789 ***
Comment 2 Martin Schovanek 2003-03-13 13:52:51 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:37:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.