A Lexer is a Scintilla module which performs language-specific operations on the edited text like for example syntax coloring.
The lexer is set automatically based on the edited file’s extension and can be manually overridden using the language menu.