Thank you for your help. I will work on finishing up the final "fixes" on this, hopefully today.
I got the list of words for the different groups directly from the AHK Wiki, where they list it for people to make syntax highlighting work with their editor. Apparently they had the same keywords in multiple categories for some reason I can't comprehend. I'll examine them and try to determine exactly where they should go.
The "/DeLimiters" issue, as well as anything else that was above "/C1", was a straight copy/paste from the original AHK wordfile that was on IDM's Extras page, so the error was there first. I should have paid attention to that as well. That's what I get for assuming. Especially with another person's work. I've fixed other people's code so often I should know better.
As far as the invalid words go, they were also in the original ahk file, as well as the { } being used for delimiters. Sounds like I had a bad one to start with that I was trying to update. Once we get all this fixed, that bad one needs to be replaced for sure.
I'll post again when I believe I have the issues corrected, then you can check it again. Thanks again for the assist.
EDIT: It appears that the keys such as {Enter} are the way the word is supposed to be, and not Enter. Also, the curly braces are used the same way as C and PHP, as "begin" and "end" parts of a conditional, loop, statement group, or function, so will also need to be indent and unindent IF not part of a word. That also makes them a special character when alone. Here is the kicker... the curly brace also is used to define associative arrays, as follows:
- Code: Select all
Array := {KeyA: ValueA, KeyB: ValueB, ..., KeyZ: ValueZ}
I don't think all 3 methods can co-exist at once. However, I would really like the {Enter} style words to be auto-complete including the curly braces, as the braces are the harder entity to type (2 buttons to press instead of one). If I just do "Enter", then the wordfile will cause "Enter" to be suggested for automatic completion of the word, but not {Enter}. Should I package up a separate auto-complete file for this to include those and allow the highlighting to only cover what is inside the braces, with the braces receiving a separate highlight?