# GAP Editor with Syntax Highlighting for Windows

Can anybody recommend a code editor for Windows which has GAP Syntax Highlighting? Thank you

• (+1) It's a question which is good to have answered in a visible place. – Alexander Konovalov Nov 19 '15 at 16:58
• GNU Emacs has a gap mode. – jdoicj Nov 21 '15 at 1:13

I made a very simple, bare-bones GAP mode for Notepad++, which I used for a GAP course I taught. The following installation instructions are from the notes I handed to the students. (But I do not normally use Windows myself, so I haven't verified them for some time).

3. In the resulting dialog, click the “Import...” button.
4. This opens a file selector dialog, from which you should select the gap.xml file from step 1.
5. Now close the “User Defined Language” dialog
• Hi Max, I am a bit of a beginner with this stuff, how do I install your GAP mode into Notepad++? Thank you – fourier1234 Nov 19 '15 at 16:25
• I expanded the comment a bit. Let me stress that this is a super-basic mode, it only highlights keywords, and does not even try to highlight any of the gazillion function names of stuff built into GAP (I know several GAP modes for editors try to do this, but I consider it pointless, as those lists of names keep changing anyway). – Max Nov 19 '15 at 16:30
• (+1) for highlighting keywords only. I've done this for PsPAD (pspad.com/en) to replace their highlight mode which exported ~4K names :) and perhaps quikcly became outdated. I am happy to share it (perhaps after testing, since I haven't used it for a while). – Alexander Konovalov Nov 19 '15 at 16:36
• Thanks Max I just tested the instructions and it all works fine. Thanks very much. – fourier1234 Nov 19 '15 at 16:37
• @AlexanderKonovalov I saw a reference to your PsPad GAP Mode file on the gap-system website, if you are happy to share it I would be interested in testing that out too. – fourier1234 Nov 19 '15 at 16:40

Thanks for all answers and comments already there. I have updated the question Where is the GAP file editor? How do I save GAP programs? from the GAP F.A.Q to list all available modes in one place. Besides Notepad++ and PSPAd for Windows, it lists some other editors as well. In the future, please check it in the GAP F.A.Q. for any updates.