Syntax Colouring for Notepad++

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
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: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: Syntax Colouring for Notepad++

27 Nov 2013, 01:47

[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
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: 54
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: 302
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: 507
Joined: 20 Nov 2013, 20:56
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: 160
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 (v1)”

Who is online

Users browsing this forum: ArkuS and 64 guests