Exactly what I've wanted to point out. Thx for your confirmation.Perhaps using a Notepad2 base: small*, a bit rustic (tried it only briefly!) although friendlier than SciTE, open source, so not too hard to adapt

* a single executable
Exactly what I've wanted to point out. Thx for your confirmation.Perhaps using a Notepad2 base: small*, a bit rustic (tried it only briefly!) although friendlier than SciTE, open source, so not too hard to adapt
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]
Notepad++ uses regular SciLexer.dll, so replacing the provided one with mine and replacing two XML files should do the trick (once I finished doing that). No need for recompiling it. That's Notepad2 which needs recompiling. And I won't do it, I prefer to spend my scarce free time to improve the lexer (and do other projects).It will be very helpful to the community if you can
[*:ngx3iw2k]Recompile Notepad++ to automatically support AHK Syntax Highlighting
[*:ngx3iw2k]Provide a download in .ZIP format ( requiring no installation )
[*:ngx3iw2k].REG files to associate Notepad++ to be the default editor for AHK
Notepad++ uses regular SciLexer.dll, so replacing the provided one with mine and replacing two XML files should do the trick (once I finished doing that). No need for recompiling it.
Fair enough :wink:That's Notepad2 which needs recompiling. And I won't do it, I prefer to spend my scare free time to improve the lexer (and do other projects).
(Scare free time or spare free time - that's the question! (Hamlet)
)
Well, perhaps you can petition the author:
1) To be more flexible;
2) (more likely) To support AHK.
I still have the above XML files, in case they become useful someday.
Not me, sorry.As BoBo requested, maybe someday you should re-compile Notepad2 atleast.
For Notepad++, I wrote a message in their forum, asking for more flexibility or perhaps future AHK support.
In your post
Well, perhaps you can petition the author:
1) To be more flexible;
2) (more likely) To support AHK.
I still have the above XML files, in case they become useful someday