Notepad++ 5.0 autocomplete
Posted 12 July 2008 - 12:55 AM
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?
Posted 12 July 2008 - 01:53 AM
Red Hat Dude
Posted 12 July 2008 - 01:56 AM
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).
Posted 12 July 2008 - 04:15 AM
Red Hat Dude, that's what made me stop using comas in functions :roll: , i hate that bug.
Posted 12 July 2008 - 04:30 AM
Posted 13 July 2008 - 03:26 AM
Posted 13 July 2008 - 03:43 AM
Posted 13 July 2008 - 07:38 AM
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).
And one for those who prefer black backgrounds:
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.
Posted 17 July 2008 - 05:48 PM
msgbox [color=orange]% Hi [color=orange]; this text and all text after the % will appear orange because it is waiting for the matching "%"[/color] [color=orange]msgbox Uh Oh`, this whole line will appear orange in the editor now[/color]
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.
Red Hat Dude
Posted 18 July 2008 - 02:57 AM
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...)
msgbox % Hi [color=orange] ; % Quick Fix :)
Posted 18 July 2008 - 05:30 AM
Posted 18 July 2008 - 07:01 AM
<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...
Posted 01 August 2008 - 11:58 AM
Posted 01 August 2008 - 01:39 PM
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++\