Page 1 of 1

Syntax Colouring for Notepad++

Posted: 26 Nov 2013, 23:14
by BGM
In a way to thank the AutoHotkey community, I would like to present my syntax colouring file (UDL) for Notepad++ version 6 and higher.

Here is the download link.

It comes with directions, too, on how to install the syntax colouring.

It will even perform proper colouring for these situations (except the colours a little off in the picture, as they were skewed by ImageShack):
Image

The only weird thing is that if there are an odd number of % signs in the line, trailing comments require two semicolons to render the comment colour. However, the first semicolon's colour gets stuck on the variable colour. But it's near perfect.

If anyone finds keywords that need fixing, or has a fix, let me know and I can update the file.

Re: Syntax Colouring for Notepad++

Posted: 27 Nov 2013, 01:47
by jNizM

Re: Syntax Colouring for Notepad++

Posted: 27 Nov 2013, 10:48
by BGM
Yes, I know about that (from the old forum), and I've used it for a long time, but that schema didn't seem to handle % variables correctly. So I made my own.

Re: Syntax Colouring for Notepad++

Posted: 28 Nov 2013, 15:22
by fredchf
@BGM
Really nice. THX :)

Re: Syntax Colouring for Notepad++

Posted: 04 Apr 2014, 01:14
by ribbet1
BGM, thanks much!! I had gotten so frustrated with trying to get a syntax coloring working in NPP that I simply started using the Autoit scheme that came with the program. I've finally updated NPP, deleted the old, nonworking AHK schemes and installed yours and it looks very nice. So, working great here!

Re: Syntax Colouring for Notepad++

Posted: 04 Apr 2014, 07:42
by Skrell
This is VERY nice, but would you mind adapting it for dark backgrounds too?

Re: Syntax Colouring for Notepad++

Posted: 04 Apr 2014, 09:59
by BGM
@Skrell - a *dark* theme! It's a good idea, but I don't really have any time to do it; I'd like to though! If someone would like to do this, I would be happy to add it to the package and credit the fellow.

Re: Syntax Colouring for Notepad++

Posted: 04 Apr 2014, 15:18
by Relayer
If you want a dark theme look for one written by Panofish. You should be able to find it. I love it.

Relayer

Here it is:
http://www.autohotkey.com/board/topic/6 ... or-scheme/