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.
|Summary:||Improving code folding API|
|Product:||editor||Reporter:||Petr Pisl <ppisl>|
|Component:||Code folding||Assignee:||Svata Dedic <sdedic>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
|Bug Depends on:||226413|
Description Petr Pisl 2008-08-03 13:51:43 UTC
1) There are not constants for group of code folding. So client has to know exact string to provide the code folding. There are four groups of code folding in gsf: codeblocks, comments, initial-comment and imports 2) There is missing group for classes and interfaces. 3) The client should be able to overwrite the default fold template for a group.
Comment 1 Petr Pisl 2008-08-03 13:55:29 UTC
Also see issue #142425, where is not possible map fold categories to the editor option.
Comment 2 David Strupl 2009-01-14 14:35:33 UTC
Moving from ruby/GSF to editor/CSL. Step one: assign to myself ;-)
Comment 3 David Strupl 2009-01-14 14:43:18 UTC
Step 2: trying to make the owner not myself but the owner of the subcomponent.
Comment 4 David Strupl 2009-05-04 12:06:17 UTC
This is ENH. I was tempted to close it as wontfix but let's leave it opened as ENH for now.
Comment 5 Marek Fukala 2009-11-30 10:16:31 UTC
Another quite important functionality is to be able to pass a code fold name by the CSL client. For example in HTML the fold description should contain the tag name itself, not just some "category" name like "...". The html editor folding had to regress when migrated to CSL because of this.
Comment 6 Svata Dedic 2012-06-07 07:59:53 UTC
*** Bug 128995 has been marked as a duplicate of this bug. ***