Jason Oster wrote:
Neil informed me of the ^prefix syntax supported in Scintilla's keyword handling code. (I should have noticed it; I copy-pasted it directly into the InListWildcard() method!)
Excellent work, mark that one up as "solved" :)
Adding keywords ^data- and ^aria- works, but note that "data" is already defined as a keyword. I've changed that keyword to ^data- with some success. Sadly, the prefixes alone "data-" and "aria-" get styled, which looks odd and is explicitly against the spec.
But hey, it works for now.
Actually, once I get to data- the whole attribute becomes styled. That's with Geany built from svn updated this morning, i.e. r5336. Perhaps your patch has changed that.
Thanks for sorting that out, I can clean up my local config file now!
cheers, Ross