Allow a configurable engine for hiding selected regions of text from the text area.
For example: In C/C++, hide parts of the buffer that are excluded from the current
build configuration (e.g. using #ifdef ...).
This can be extended to different syntax highlight styles for different regions of
text. For example, MS Developer Studio shows the text in the above example in gray,
while the rest of the text is syntax highlighted. Another example: Mylyn (an eclipse
plugin) colors text according to the frequency of visiting it. A function that was
never visited (by browsing through the source code) is hidden; frequently visited
text is colored "darker" than rarely visited text.
Submitted | nobody - 2010-09-24 03:29:42 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | ConfigurableFoldHandler |
Status | pending | Group | v5.2 |
Resolution | None |
2010-09-24 03:31:40 *anonymous |
In addition, when some buffer text is hidden from the text area, the folding should apply only to the visible lines - as if the hidden text is not part of the buffer. That is, the folding should be applied on the result of the filtering. |
---|---|
2010-09-25 12:29:37 rschwenn |
Sounds like an ambitious plan. Two notes:
|
2010-09-26 07:18:02 *anonymous |
An ambitious plan, yes. But I think it's a very useful feature.
|
2010-09-26 11:43:54 rschwenn |
Some time ago a user asked for a feature which is found in "The Hessling Editor" (
http://hessling-editor.sourceforge.net/ ). It lets You hide all lines that don't match
a criteria (i.e. a search text) and then lets You edit only the displayed lines.
|
2013-12-09 19:24:18.677000 ezust |
- **labels**: core --> ConfigurableFoldHandler |
2013-12-09 19:24:23.783000 ezust |
Can you get something like this from ConfigurableFoldHandler?
|
2013-12-10 12:06:40.011000 *anonymous |
Well, yes and no. Possibly you can define the regions in ConfigurableFoldHandler,
but the feature request is deeper. I would like to have the option to either hide
the regions completely (not fold them, hide them - it's not the same as considering
the preceding line to be the start of a fold containing the region, as I want the
folding to be used only on the visible lines and not on those hidden - and don't want
to see dummy folds).
|