BIGpedia.com - Folding editor - Encyclopedia and Dictionary Online
encyclopedia search

Folding editor

A folding editor is a text editor which allows the user to hide and reveal blocks of text. Typically this is done to allow the user to better see the overall structure of the document.

The Macintosh computer historically had a number of source code editors that "folded" portions of code via "disclosure triangles". The UserLand Software product Frontier was a popular scripting environment that had this capability.

Contents

Example

The following document contains folding marks ({{{ ... }}}):

Heading 1
{{{
Body
}}}

Heading 2
{{{
Body
}}}

Heading 3
{{{
Body
}}}

When loaded into a folding editor, the outline structure will be shown (just the headings):

Heading 1
{{{ ...

Heading 2
{{{ ...

Heading 3
{{{ ...

Clicking on the {{{ marks makes the appropriate body text appear.

History

Folding editors appeared in the original occam IDE, called Inmos Transputer Development System .

Editors with folding capability

Many text editors provide folding capability. Among them are:

External links



The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License.
How to see transparent copy

01-04-2007 01:21:04