| View previous topic :: View next topic |
| Author |
Message |
ludamo
Joined: 12 Jul 2008 Posts: 3 Location: Australia
|
Posted: Sat Jul 12, 2008 1:55 am Post subject: Notepad++ 5.0 autocomplete |
|
|
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 |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1130
|
|
| Back to top |
|
 |
Red Hat Dude Guest
|
Posted: Sat Jul 12, 2008 2:56 am Post subject: |
|
|
I think you go to AutoHotkey.net, but I'm not sure.
Yay, another Notepad++ user.
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
|
Posted: Sat Jul 12, 2008 5:15 am Post subject: |
|
|
nice, please share.
Red Hat Dude, that's what made me stop using comas in functions , i hate that bug. _________________ simplified csv - easy way to handle csv files. |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1209 Location: USA
|
Posted: Sat Jul 12, 2008 5:30 am Post subject: |
|
|
thats what immediately turned me off to Notepad++....I use SciTE _________________
 |
|
| Back to top |
|
 |
ludamo
Joined: 12 Jul 2008 Posts: 3 Location: Australia
|
Posted: Sun Jul 13, 2008 4:26 am Post subject: AHK Autohotkey.xml Notepad++ 5.0 |
|
|
| Have just uploaded AHK Autohotkey.zip (8.58 kb - which contains AHK Autohotkey.xml) to directory ludamo on AutoHotkey.net. Thanks. |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 922 Location: The Interwebs
|
Posted: Sun Jul 13, 2008 4:43 am Post subject: |
|
|
| Would you mind posting a link to make it easier for everyone to get to it? |
|
| Back to top |
|
 |
tkoi
Joined: 26 Jun 2008 Posts: 24
|
|
| Back to top |
|
 |
Red Hat Boy
Joined: 10 Apr 2008 Posts: 113
|
|
| Back to top |
|
 |
CannedCheese
Joined: 22 May 2008 Posts: 64
|
Posted: Thu Jul 17, 2008 6:48 pm Post subject: |
|
|
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 |
|
 |
Red Hat Dude Guest
|
Posted: Fri Jul 18, 2008 3:57 am Post subject: |
|
|
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.
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
|
Posted: Fri Jul 18, 2008 6:30 am Post subject: |
|
|
| 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 |
|
 |
HugoV
Joined: 27 May 2007 Posts: 499
|
Posted: Fri Jul 18, 2008 8:01 am Post subject: |
|
|
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 |
|
 |
Zer07even
Joined: 01 Aug 2008 Posts: 9 Location: South Africa
|
Posted: Fri Aug 01, 2008 12:58 pm Post subject: |
|
|
| 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 |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 130 Location: KC, MO
|
Posted: Fri Aug 01, 2008 2:39 pm Post subject: |
|
|
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++\
 _________________
 |
|
| Back to top |
|
 |
|