Another part of the reason that I decided to hilight words based on how defined words in lilypond are used. That way I cover just about all of the words, and if \dimTextDim is one day renamed, as long as it begins with a \, the regex I use will catch it. I thought aobut inserting lists of words into my hilighting, but then came across exactly this scenario and decided against it.