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 125055

Summary: XMLFoldManager : remove dependency on DocumentModel
Product: xml Reporter: Samaresh Panda <samaresh>
Component: Text-EditAssignee: Samaresh Panda <samaresh>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 101156, 116806    

Description Samaresh Panda 2008-01-10 19:30:17 UTC
XMLFoldManager uses an implementation of DocumentModel. In other words, it uses XMLSyntaxParser and old editor APIs.
There are several issues with that and after discussions we have decided to remove that dependency and rewrite xml fold.
This will help solve several issues particularly some on performance.
Comment 1 Samaresh Panda 2008-02-08 04:28:30 UTC
Fix integrated: http://hg.netbeans.org/main/rev/26fbf1aa6d3a
The fold manager is completely re-written using lexer. It doesn't use the document model anymore.
Comment 2 Samaresh Panda 2008-02-13 18:04:18 UTC
*** Issue 127323 has been marked as a duplicate of this issue. ***