Blog / TreeDBNotes / Syntax Highlighting in TreeDBNotes

Syntax Highlighting in TreeDBNotes

TreeDBNotes supports all standard formatting of font and background. For quick format of code snippets or source code examples you can use Syntax highlighting tools.

Syntax highlighting is a feature of some text editors that display text—especially source code—in different colors and fonts according to the category of terms. This feature eases writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it's made only for human readers/editors.

Syntax highlighting is a form of secondary notation, since the highlights are not part of the text meaning, but serve to reinforce it. Some editors also integrate syntax highlighting with other features, such as spell checking or code folding, as aids to editing which are external to the language. (from Wikipedia).

How to use TreeDBNotes Syntax Highlighting:

  • 1) Select text (Source Code)
  • 2) Use Syntax Highlighting command from the main menu: Notes/Syntax/
  • 3) Choose any variant from the menu

That's all..

Default Syntax TreeDBNotes schemes:

  • Perl.xml
  • Java_2.xml
  • Java_Script.xml
  • Delphi.xml
  • Flash 5.xml
  • ini.xml
  • HTML.xml
  • Windows Registry Files.xml
  • SQL (MySQL).xml
  • PHP.xml
  • C#.xml
  • C++ Source.xml
  • Assembler (Masm).xml

TreeDBNotes Syntax Highlighting - Examples

Unformatted text:

Syntax Highlighting - Text

formatted text:

Syntax Highlighting - Formatted

You can make your own Syntax highlighting scheme. For this purposes we have a special free tools: TreeDBNotes Syntax Editor. This program always available on our web site or forum. If you have made a useful and popular syntax scheme, then send it to us! We can add it to the new version of TreeDBNotes.