Syntax Colouring for Notepad++

Post your working scripts, libraries and tools
User avatar
BGM
Posts: 419
Joined: 20 Nov 2013, 20:56
GitHub: bgmCoder
Contact:

Syntax Colouring for Notepad++

26 Nov 2013, 23:14

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.
User avatar
jNizM
Posts: 2334
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Re: Syntax Colouring for Notepad++

27 Nov 2013, 01:47

[AHK] 1.1.30.00 x64 Unicode | [WIN] 10 Pro (Version 1803) x64 | [GitHub] Profile
Donations are appreciated if I could help you
User avatar
BGM
Posts: 419
Joined: 20 Nov 2013, 20:56
GitHub: bgmCoder
Contact:

Re: Syntax Colouring for Notepad++

27 Nov 2013, 10:48

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.
fredchf
Posts: 23
Joined: 30 Sep 2013, 14:55

Re: Syntax Colouring for Notepad++

28 Nov 2013, 15:22

@BGM
Really nice. THX :)
ribbet1
Posts: 1
Joined: 04 Apr 2014, 01:10

Re: Syntax Colouring for Notepad++

04 Apr 2014, 01:14

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!
Skrell
Posts: 163
Joined: 23 Jan 2014, 12:05

Re: Syntax Colouring for Notepad++

04 Apr 2014, 07:42

This is VERY nice, but would you mind adapting it for dark backgrounds too?
User avatar
BGM
Posts: 419
Joined: 20 Nov 2013, 20:56
GitHub: bgmCoder
Contact:

Re: Syntax Colouring for Notepad++

04 Apr 2014, 09:59

@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.
User avatar
Relayer
Posts: 118
Joined: 30 Sep 2013, 13:09
Location: Delaware, USA

Re: Syntax Colouring for Notepad++

04 Apr 2014, 15:18

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/

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 49 guests