AutoHotkey (Scintilla) Lexer

Discuss other programming languages besides AutoHotkey
User avatar
Masonjar13
Posts: 1478
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

AutoHotkey (Scintilla) Lexer

22 Sep 2016, 17:19

Back in April, I opened a request to Notepad++ on Git to add native AutoHotkey syntax. There was one attempt, but they didn't bother making the lexer for it.. kinda pointless. So, I would like some help to write a lexer for it. My problem, besides being mediocre at C++, is that I don't know how a lexer operates and what it actually needs to function properly. If someone could point me in the right direction, or if someone would like to do it entirely, collab, whatever, that would be great. :)

Reference: https://github.com/notepad-plus-plus/no ... ssues/1734
OS: Windows 7 Ultimate | Editor: Notepad++
My Personal Function Library | Check Out My Computer Rig
User avatar
Masonjar13
Posts: 1478
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: AutoHotkey (Scintilla) Lexer

22 Sep 2016, 17:46

The one time I didn't bother to search something. :roll: Not sure if it'll implement immediately or if it needs updating. We'll see. Thanks HotKeyIt!
OS: Windows 7 Ultimate | Editor: Notepad++
My Personal Function Library | Check Out My Computer Rig
guest3456
Posts: 2573
Joined: 09 Oct 2013, 10:31

Re: AutoHotkey (Scintilla) Lexer

22 Sep 2016, 20:11

back when i used np++, i used RaptorX's lexer. as i remember, you needed to use a custom scintilla.dll file because it was written for a previous version

now i use Vim :)

User avatar
Masonjar13
Posts: 1478
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: AutoHotkey (Scintilla) Lexer

22 Sep 2016, 21:14

Vim, huh? To each their own, I suppose. Not a fan of CLI editors (unless it got a GUI?) myself. I've borrowed finc's lexer from SciTE4AHK. That's compiled and done. Working on getting N++ edited and compiled, we'll see how that goes.
OS: Windows 7 Ultimate | Editor: Notepad++
My Personal Function Library | Check Out My Computer Rig
guest3456
Posts: 2573
Joined: 09 Oct 2013, 10:31

Re: AutoHotkey (Scintilla) Lexer

23 Sep 2016, 01:44

lol of course its got a GUI. but using the mouse in Vim is an effort in futility anyway
http://mrozekma.com/editor-learning-curve.png

User avatar
Masonjar13
Posts: 1478
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: AutoHotkey (Scintilla) Lexer

23 Sep 2016, 15:30

I used VIM on Linux (Fedora 13, I believe, for school), and it was CLI only. I've only used Eclipse, VS, Gedit, and N++. I suppose I used notepad back in middle school and before. Also tried CodeBlocks, that sucked. Hated Eclipse, hate VS (although I use it still, super rarely), and Gedit is just a better notepad. I just hook up MinGW to N++ and that's about all I've ever needed. Works for me anyway.
OS: Windows 7 Ultimate | Editor: Notepad++
My Personal Function Library | Check Out My Computer Rig
User avatar
lmstearn
Posts: 221
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn
Contact:

Re: AutoHotkey (Scintilla) Lexer

27 Oct 2016, 21:37

@MasonJar: Still interested in the Lexer?
Looks like most of the input will be in stylers.model.xml and langs.model.xml- is that easily sourced?
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 2 guests