Folding editor

A folding editor is a text editor which supports text folding or code folding, a mechanism allowing the user to hide and reveal blocks of text—usually named. Typically this is done to allow the user to better picture the overall structure of a document or program.

Folding is provided by many modern text editors, and syntax-based or semantics-based folding is now a component of many software development environments.


One of the earliest folding editors was STET, an editor written for the VM/CMS operating system in 1977 by Mike Cowlishaw. STET is a text editor (for documentation, programs, etc.) which folds files on the basis of blocks of lines; any block of lines can be folded and replaced by a name line (which in turn can be part of a block which itself can then be folded).

A folding editor appeared in the occam IDE "circa" 1983, which was called the Inmos Transputer Development System.Fact|date=February 2007

The Macintosh computer historically had a number of source code editors that "folded" portions of code via "disclosure triangles". The UserLand Software product Frontier is a scripting environment that has this capability. [cite web|accessdate=2006-12-27|url=|]

Editors with folding capability

A number of text editors provide folding capability. Those that do include:

* [ aoeui] , the Dvorak-optimized editor
* [ EditPad Pro]
* [ EditPlus]
* Delphi
* Emacs
* Eclipse
* EmEditor Professional
* [ Folding Text Editor]
* Geany
* [ GridinSoft Notepad]
* jEdit
* Kate
* Komodo Edit
* Kwrite
* LEXX/LPEX (editor for the OED) [LEXX – A programmable structured editor "IBM Journal of Research and Development", Vol 31, No. 1, 1987, IBM Reprint order number G322-0151]
* Notepad++
* [ RJ Text Editor]
* SciTE
* TextMate
* UltraEdit
* Vim
* Visual Studio
* Xcode 3.0
* XEDIT (however its folding is effected by scripts)
* Zeus IDE

See also

* Code folding


External links

* [ What is a folding editor?] by the author of the [ fe] editor.
* [ Description of the folding editor] used in occam.

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Folding — Fold may refer to:*Above the fold, a graphic design concept originating in newspapers *Fold (from the Saxon falod ) meaning a staked off pasture area (e.g. Sheepfold, an enclosure for sheep) and used in place names such as the Fold Villages.… …   Wikipedia

  • Code folding — is a feature of some text editors, source code editors and IDEs that allows the user to selectively hide and display sections of a currently edited file as a part of routine edit operations. This allows the user to manage large amounts of text… …   Wikipedia

  • Text editor — A text editor is a type of program used for editing plain text files. Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source… …   Wikipedia

  • STET (text editor) — The STET text editor (the STructured Editing Tool ) may have been the first folding editor; its first version was written in 1977 by Mike Cowlishaw. The editor runs on the IBM VM/CMS operating system.STET was written to explore an approach to… …   Wikipedia

  • The Hessling Editor — Infobox Software name = The Hessling Editor caption = author = Mark Hessling developer = released = latest release version = 3.2 latest release date = January 2006 latest preview version = latest preview date = operating system = Windows Unix… …   Wikipedia

  • Code Folding — Code Faltung oder Code Folding bezeichnet eine Funktion in Editoren, insbesondere in modernen integrierten Entwicklungsumgebungen, um logisch zusammengehörende Quelltextabschnitte wie Klassen oder Methoden in sogenannten Folds bzw. Falten zu… …   Deutsch Wikipedia

  • XML Copy Editor — Infobox Software name = XML Copy Editor latest release version = latest release date = release date|2008|09|01 programming language = C++ operating system = Linux, Windows genre = XML editor license = GNU GPL website = [http://xml copy… …   Wikipedia

  • Vim (text editor) — Infobox Software name = Vim caption = Graphical Vim under GTK+ 2 author = Bram Moolenaar developer = released = release year|1991 frequently updated = yes programming language = C and Vim script platform = Cross platform,including Unix,Linux and… …   Wikipedia

  • JED (text editor) — Infobox Software name = JED caption = author = John E. Davis latest release version = 0.99 18 latest release date = April 2, 2006 operating system = Unix, OpenVMS, MS DOS, OS/2, BeOS, QNX, Windows genre = Text editor license = GPL website =… …   Wikipedia

  • Kate (text editor) — In computing, Kate is a text editor for KDE. The acronym Kate stands for KDE advanced text editor .Kate has been part of the kdebase package since KDE release 2.2 (August 15, 2002). Because of the KParts technology which is part of KDE, it is… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.