AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Notepad++ definition

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
paxophobe



Joined: 10 Nov 2007
Posts: 93
Location: Second star to the right.... watching you.

PostPosted: Mon Aug 10, 2009 9:50 am    Post subject: Notepad++ definition Reply with quote



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 Thu Sep 10, 2009 2:25 pm; edited 7 times in total
Back to top
View user's profile Send private message
TchnclFl



Joined: 29 Jul 2009
Posts: 48

PostPosted: Mon Aug 10, 2009 7:02 pm    Post subject: Reply with quote

Nice job. Thanks! Smile
_________________
Click here to get free games and computer supplies! It's easy and fun! CLICK ME!

EasyAHK
Back to top
View user's profile Send private message
Mr_and_Mrs_D



Joined: 19 Dec 2006
Posts: 164

PostPosted: Sat Aug 15, 2009 9:59 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Sat Aug 22, 2009 12:12 am    Post subject: Reply with quote

Very nice theme. thank you.
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
paxophobe



Joined: 10 Nov 2007
Posts: 93
Location: Second star to the right.... watching you.

PostPosted: Thu Sep 10, 2009 2:26 pm    Post subject: Reply with quote

Slight update including new colors. I'm not sure how to get the braces collapsing ... I'll have to look into that.
Back to top
View user's profile Send private message
Mr_and_Mrs_D



Joined: 19 Dec 2006
Posts: 164

PostPosted: Fri Sep 11, 2009 11:16 am    Post subject: Reply with quote

Please do Smile
_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05
Back to top
View user's profile Send private message
paxophobe



Joined: 10 Nov 2007
Posts: 93
Location: Second star to the right.... watching you.

PostPosted: Fri Sep 11, 2009 12:01 pm    Post subject: Reply with quote

(removed, bad code)

Last edited by paxophobe on Tue Sep 15, 2009 8:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
Mr_and_Mrs_D



Joined: 19 Dec 2006
Posts: 164

PostPosted: Fri Sep 11, 2009 12:14 pm    Post subject: Reply with quote

Thanks a lot - I will try it out and post back - but probably next week - thanks again Smile
_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05
Back to top
View user's profile Send private message
Mr_and_Mrs_D



Joined: 19 Dec 2006
Posts: 164

PostPosted: Sat Sep 12, 2009 11:49 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
paxophobe



Joined: 10 Nov 2007
Posts: 93
Location: Second star to the right.... watching you.

PostPosted: Tue Sep 15, 2009 2:34 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group