Jump to content

Syntax highlighting

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 4lex (talk | contribs) at 07:33, 11 July 2003 (Syntax highlight: start the article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Many text editors, like vim, emacs or nedit, are able to display text in different colors according to the different syntax meaning of each term. This can be achieved either by specifying the language of the text, like c, latex, html, or by having the text editor automatically recognice it.

This feature greatly facilitates writing in a structured language, as both structures and errors are recognized with much more ease.