Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 130489 - Code folding API/SPI support
Code folding API/SPI support
Status: NEW
Product: editor
Classification: Unclassified
Component: Code folding
6.x
PC All
: P2 (vote)
: 6.x
Assigned To: Miloslav Metelka
issues@editor
: API
Depends on:
Blocks: 130488
  Show dependency treegraph
 
Reported: 2008-03-19 10:11 UTC by Miloslav Metelka
Modified: 2010-09-23 07:59 UTC (History)
0 users

See Also:
Issue Type: TASK
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2008-03-19 10:11:52 UTC
The support should allow:
- When folds are refreshed e.g. as a result of document reparsing there should be support for matching the
expanded/collapsed state to the new folds if they are within the same position bounds in the document.
- FoldManager.removeEmptyNotify() and FM.removeDamagedNotify(): the fold provider is likely not interested in this very
much. There should be an automatic handling of these methods.
Comment 1 Jan Lahoda 2008-03-19 10:18:09 UTC
I would add:
-simpler locking: to my knowledge, adding the folds into the hierarchy currently needs to run in AWT under 3 different
"locks" (document read lock, operation.getHierarchy().lock(), operation.openTransaction())
-allow "push" model


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo