For Scintilla, there's also a useful tutorial (using a language as obscure as Julia 😉) that explains how to implement a lexer. It used to be linked from Scintilla's main documentation page but it 404's here. I found it hosted elsewhere:
https://www.coursehero.com/file/45607974/Scintilla-varaq-Tutorialpdf/
Is there another host for the tutorial @codebrainz suggested? I can only see the first 3 pages without registering.
@elextr I am considering giving a try at writing a Julia lexer, but I can't foresee my time availability at the moment. I have no prior knowledge of lexers/parsers, so I would like to start looking at the reference material at the very least.