[QScintilla] XML and Python Lexer suggestions

Baz Walter bazwal at ftml.net
Wed Nov 12 22:43:28 GMT 2008


hello

in earlier versions of scintilla, the xml lexer does not style cdata 
sections inside script tags. scintilla 1.77 has introduced a property 
'lexer.xml.allow.scripts' to control this behaviour, and it would be 
nice if a getter/setter for it could be added to qscintilla's xml lexer 
class. unfortunately, the property is switched on (i.e. no styling) by 
default, which (to my eye) looks like a bug when viewing xhtml documents 
as xml. (is this one of the bugs referred to recently in qscintilla's 
change history?)

the python lexer suggestion is a lot simpler: could 'as' be added to the 
keyword list? (this is mainly for the new exceptions syntax in python 2.6)

regards
baz walter




More information about the QScintilla mailing list