On Wed, 27 Oct 2010 15:19:39 -0700 Jason Oster jason.oster@campnavajo.com 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!)
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.
OK, removed data and added the prefix keywords.
Nick