Hi,
is there any chance to add [@RaptorX's Scintilla lexer](https://github.com/RaptorX/LexAHKL/tree/master/scintilla/lexers) (GPLv3) for the [AutoHotkey scripting language](http://ahkscript.org/) to Geany?
I'd be happy to try helping out with a ahk.conf and TAGS file...
Cheers,
Phil
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/742
I asume it is possible.
How do you add lexers to this editor? does it use Scintilla? if so, you just have to replace it with my version and make sure there is a way to point to the AHK language from inside the editor.
On Mon, Nov 9, 2015 at 8:58 AM, knobhead notifications@github.com wrote:
Hi,
is there any chance to add @RaptorX https://github.com/RaptorX 's Scintilla lexer https://github.com/RaptorX/LexAHKL/tree/master/scintilla/lexers (GPLv3) for the AutoHotkey scripting language http://ahkscript.org/ to Geany?
I'd be happy to try helping out with a ahk.conf and TAGS file...
Cheers,
Phil
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/742.
If it is a normal scintilla lexer then yes it can be added, but we do not currently maintain any lexers outside the normal Scintilla set. It would be preferable if the lexer was added to Scintilla first.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/742#issuecomment-155221958
It is a normal lexer, the AHK lexer is already added in the scintilla DLL, you just have to call it via its Lexer number which is "*SCLEX_AHKL 109*".
So your editor should set the lexer from to 109 whenever you want it to use the AHKL lexer.
On Mon, Nov 9, 2015 at 6:41 PM, elextr notifications@github.com wrote:
If it is a normal scintilla lexer then yes it can be added, but we do not currently maintain any lexers outside the normal Scintilla set. It would be preferable if the lexer was added to Scintilla first.
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/742#issuecomment-155221958.
I don't see it in the source of Scintilla 3.6.2.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/742#issuecomment-155938269
Thats the reason I am talking about my modified SciLexer.dll which is the compiled version...
how do you load Scintilla on your editor? is it via a compiled SciLexer? or do you use the sources and modify them as you need them.
On Wed, Nov 11, 2015 at 7:08 PM, elextr notifications@github.com wrote:
I don't see it in the source of Scintilla 3.6.2.
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/742#issuecomment-155938269.
Scintilla and all the lexers are linked into geany. Note that Geany is available on both windows and linux, so just a win dll is no use anyway.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/742#issuecomment-156361305
Then you might want to take a look at this https://github.com/RaptorX/LexAHKL.
Those are my Ahk Lexer's sources. You might specially want to take a look at \scintilla\lexers\LexAHKL.cxx That one you might want to copy it to your lexers folder and then you should do the steps to declare that lexer so you might find it in your lexers list with the others that you have.
Hope that helps!
On Fri, Nov 13, 2015 at 4:31 AM, elextr notifications@github.com wrote:
Scintilla and all the lexers are linked into geany. Note that Geany is available on both windows and linux, so just a win dll is no use anyway.
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/742#issuecomment-156361305.
github-comments@lists.geany.org