Syntax highlighting

Syntax highlighting and syntax highlighting is the ability of a computer program, certain words and combinations of characters in a text depending on their importance in different colors, fonts and styles represent. Syntax highlighting is mainly used in text editors for editing of excellent documents, program source code and configuration files. Are highlighted here keywords and other language elements.

Syntax highlighting improves the readability of text structures in the text are easier to recognize the " cross- reading " is simplified, comments appear separated from the actual code and typos fall on faster, since in many cases a typo in change of representation leads.

Example for syntax highlighting

The following example, which is written in the C programming language, demonstrates the syntax highlighting. By highlighting functions and other language elements are highlighted.

# include   int main (void ) {          printf ("Hello World \ n");          return 0; } Web Links

  • Programming tool
758360
de