Skip to content

Syntax colouring

The editor colours source code according to its language, making structure easy to read at a glance. Colouring is powered by Lexilla (the same lexer library used by Notepad++ and SciTE), so a wide range of languages is supported out of the box.

How it works

  • The language is detected automatically, primarily from the file's extension.
  • Keywords, strings, comments, numbers, and other token types each get their own colour from the active theme.
  • Colours come from the current syntax theme — see the Theme Editor plugin to create or adjust themes.

Choosing the language

Use the Language menu to override the detected language for the current document when the automatic choice isn't what you want.