On 10/27/2010 12:34 PM, Jason Oster wrote:
[1] http://groups.google.com/group/scintilla-interest/browse_thread/thread/40780...
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!)
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.