AutoHotkey Community

It is currently May 26th, 2012, 8:22 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Notepad++ definition
PostPosted: August 10th, 2009, 10:50 am 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
Image

Here is a syntax definition plus theme for notepad++. It combines the best features of themes I found here.

The features...
- unclosed % variables
- string highlighting
- variable highlighting
- support for stream and block comments

Keyword sections
Keywords1: Commands w/o #
Keywords2: Commands prepended by #
Keywords3: Built in variables (A_ScriptDir, Error)
Keywords4: % symbol used for unescaped variables
Delimeters1: strings

- The theme is a light on dark theme, so setup np++ accordingly.
- To install, overwrite (backup first) userDefineLang.xml in your notepad++ directory...

http://www.autohotkey.net/~paxophobe/Notepad%2B%2BSyntax.rar


Last edited by paxophobe on September 10th, 2009, 3:25 pm, edited 7 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 10th, 2009, 8:02 pm 
Offline

Joined: July 29th, 2009, 10:47 pm
Posts: 48
Nice job. Thanks! :)

_________________
Click here to get free games and computer supplies! It's easy and fun! CLICK ME!

EasyAHK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2009, 10:59 am 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Thanks !

Do you think it's impossible to have the braces in the folder open/close section and in the operators section ?

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2009, 1:12 am 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
Very nice theme. thank you.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 10th, 2009, 3:26 pm 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
Slight update including new colors. I'm not sure how to get the braces collapsing ... I'll have to look into that.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 11th, 2009, 12:16 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Please do :)

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 11th, 2009, 1:01 pm 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
(removed, bad code)


Last edited by paxophobe on September 15th, 2009, 9:33 pm, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 11th, 2009, 1:14 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Thanks a lot - I will try it out and post back - but probably next week - thanks again :)

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2009, 12:49 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Hi praxophobe !

Tried the file - highlights the braces when cursor on one of them but does not give the block collapse and expand handles (the little + and - icons).

It's not simple I guess:)

Moreover the order of the entries in the style section matters for the user define dialogue - see here and ex.

Correct me if wrong please.

npp v5.4.2(UNICODE)

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2009, 3:34 pm 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
Mr_and_Mrs_D wrote:
Hi praxophobe !
Tried the file - highlights the braces when cursor on one of them but does not give the block collapse and expand handles (the little + and - icons).


http://www.autohotkey.net/~paxophobe/NPP_Folders.rar
Just extract this in your root directory. Hopefully it works for you.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, notsoobvious and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group