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++ 5.0 autocomplete
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ludamo



Joined: 12 Jul 2008
Posts: 3
Location: Australia

PostPosted: Sat Jul 12, 2008 1:55 am    Post subject: Notepad++ 5.0 autocomplete Reply with quote

I am a new member, and couldn't find any post on this topic yet.

A new version of Notepad++ (5.0) has just come out and the autocomplete file format has changed from api to xml. So I have just spent a "few" hours converting from AHK Autohotkey.api to AHK Autohotkey.xml and would like to upload the new xml file for others to use.

How can I upload this file please?
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 1130

PostPosted: Sat Jul 12, 2008 2:53 am    Post subject: Reply with quote

Sticky: AutoHotkey.net - a free place to upload your scripts online
_________________
My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags
Back to top
View user's profile Send private message
Red Hat Dude
Guest





PostPosted: Sat Jul 12, 2008 2:56 am    Post subject: Reply with quote

I think you go to AutoHotkey.net, but I'm not sure.
Yay, another Notepad++ user. Very Happy
I just got through editing an xml file for syntax highlighting (it would highlight key words, but not if they were followed immediately by a comma).
Back to top
neXt



Joined: 19 Mar 2007
Posts: 463

PostPosted: Sat Jul 12, 2008 5:15 am    Post subject: Reply with quote

nice, please share.
Red Hat Dude, that's what made me stop using comas in functions Rolling Eyes , i hate that bug.
_________________
simplified csv - easy way to handle csv files.
Back to top
View user's profile Send private message
ahklerner



Joined: 26 Jun 2006
Posts: 1209
Location: USA

PostPosted: Sat Jul 12, 2008 5:30 am    Post subject: Reply with quote

thats what immediately turned me off to Notepad++....I use SciTE
_________________
Back to top
View user's profile Send private message
ludamo



Joined: 12 Jul 2008
Posts: 3
Location: Australia

PostPosted: Sun Jul 13, 2008 4:26 am    Post subject: AHK Autohotkey.xml Notepad++ 5.0 Reply with quote

Have just uploaded AHK Autohotkey.zip (8.58 kb - which contains AHK Autohotkey.xml) to directory ludamo on AutoHotkey.net. Thanks.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 922
Location: The Interwebs

PostPosted: Sun Jul 13, 2008 4:43 am    Post subject: Reply with quote

Would you mind posting a link to make it easier for everyone to get to it?
Back to top
View user's profile Send private message AIM Address
tkoi



Joined: 26 Jun 2008
Posts: 24

PostPosted: Sun Jul 13, 2008 6:01 am    Post subject: Reply with quote

Here: http://www.autohotkey.net/~ludamo/AHK%20Autohotkey.zip
Back to top
View user's profile Send private message
Red Hat Boy



Joined: 10 Apr 2008
Posts: 113

PostPosted: Sun Jul 13, 2008 8:38 am    Post subject: Reply with quote

Sorry, I've been busy lately. Smile

Here's the xml file (I copied a bunch of text, added commas to the ends of commands, and pasted it back in the original file -- it works fine for me).
http://www.autohotkey.net/~redhatboy/whtbguserDefineLangfile.zip
http://www.autohotkey.net/~redhatboy/whtbguserDefineLangfile.7z

And one for those who prefer black backgrounds:
http://www.autohotkey.net/~redhatboy/blkbguserDefineLangfile.zip
http://www.autohotkey.net/~redhatboy/blkbguserDefineLangfile.7z

I prefer a black background myself. BTW, if you want to edit the colors, all you gotta do is open the xml file with a text editor. The colors are in hex format, and can be found at the bottom of the file.
_________________
I slit the sheet, the sheet I slit,
and on the slitted sheet I sit. ;~}
Back to top
View user's profile Send private message Send e-mail
CannedCheese



Joined: 22 May 2008
Posts: 64

PostPosted: Thu Jul 17, 2008 6:48 pm    Post subject: Reply with quote

Am I the only one who gets whacky colors with a line like...
Code:

msgbox % Hi [color=orange]; this text and all text after the % will appear orange because it
is waiting for the matching "%"

msgbox Uh Oh`, this whole line will appear orange in the editor now


Anytime you have a line with an unmatched %, everything gets screwed up as its waiting for the "%'s" matching pair.

Its really annoying. This is a problem for me with the default autohotkey Notepad++ script, but I'd love to have it fixed. Notepad++ is pretty much unusable to me without a fix, and I'm clueless about building a language file that resets the colors back to normal on the next line.
Back to top
View user's profile Send private message
Red Hat Dude
Guest





PostPosted: Fri Jul 18, 2008 3:57 am    Post subject: Reply with quote

Lol, I didn't even know that other editors didn't have that problem. I've tried other editors before, but I've only used Notepad++ and PSPad since I've found AutoHotkey. (And I didn't think too much of PSPad at the time.)

I have no idea how to fix it, but I've grown too attached to Notepad++ to switch editors. Very Happy
Maybe if I have time I'll try to figure it out next weekend (my nieces and nephews visiting, plus my new job, pretty much eat up all my time...)

Code:

msgbox % Hi [color=orange] ; % Quick Fix :)
Back to top
CannedCheese



Joined: 22 May 2008
Posts: 64

PostPosted: Fri Jul 18, 2008 6:30 am    Post subject: Reply with quote

I use PSPad all the time and have been shopping around for something different with collapsable code, but all that orange is really annoying and a dealbreaker. Thanks for putting in the effort.
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 499

PostPosted: Fri Jul 18, 2008 8:01 am    Post subject: Reply with quote

quick fix, look up the line
Code:
<Keywords name="Delimiters">%00%00</Keywords>
and delete the %00%00 bit so you have an empty delimiters. It stops the highlighting of %A_index% as well but I don't mind...
Back to top
View user's profile Send private message
Zer07even



Joined: 01 Aug 2008
Posts: 9
Location: South Africa

PostPosted: Fri Aug 01, 2008 12:58 pm    Post subject: Reply with quote

Sorry guys Im gonna ask a real n00b question now: how do I update the file if I copy in the new XML file I see nothing different? am I missing something?
Back to top
View user's profile Send private message
infogulch



Joined: 27 Mar 2008
Posts: 130
Location: KC, MO

PostPosted: Fri Aug 01, 2008 2:39 pm    Post subject: Reply with quote

i was having the same problem myself. i would try to change syntax highlighting, and nothing would happen. frustrating!!

the problem is most likely that for your user, you need to use the %AppData% dir, not the program directory itself. try:

%Root%\Documents and Settings\%UserName%\Application Data\Notepad++\

Very Happy
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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