On Thu, 04 Sep 2008 11:40:36 -0700, Jason Oster parasytic@gmail.com wrote:
As the reporter of the bug mentioned, no complaints from me! Although, and this is only slightly related, I haven't noticed any way to identify pseudo-classes and pseudo-elements as separate entities. An example from some CSS I have been using recently:
.sort_asc:hover::after { content: ' \25BE'; /* Black Down-Arrow */ }
Ideally, the :hover pseudo-class and ::after pseudo-element should be lexed and styled differently by Scintilla. If this is a Scintilla issue, (needs double-checking) I would be glad to pick this up and work on it.
After having a short look at it, I'd say the CSS lexer of Scintilla doesn't support pseudo-elements. It seems the "after" is styled the same as the pseudo-class before. But I don't know CSS at all not sure about all this.
Regards, Enrico