Is someone here able to do the below to implement the above AutoHotkey Lexer (above) within Notepad2 ???
Could you please explain how to add or modify syntax schemes?
This requires modification of the
Notepad2 source code.
The Scintilla documentation has an overview of syntax highlighting, and how to write your own lexer, in case the language you'd like to add is not supported by Scintilla.
The structures relevant to syntax highlighting can be found in Styles.c of the Notepad2 source code. Add your own structures to the global pLexArray, then adjust NUMLEXERS to the total number of syntax schemes. The style definitions can be found in SciLexer.h of the Scintilla source code.
Include the Lex*.cxx files from Scintilla required for your languages in your project and follow the instructions in Readme.txt to rebuild Notepad2. I recommend using Visual Studio .NET 7 or above.
[Notepad2 1.0.12 Source Code]