[QScintilla] XML lexer and folding

Stefan Langer s.langer at artificial-technology.de
Fri May 2 11:57:43 BST 2008


Hello,

I just saw that statement about HTML-lexer can handle xml ... as far as
i can see it can't correctly (tried even the latest snapshot from the
website)
... I attached a screenshot that i took from the qt4-example (which I
extended by a "textEdit->setLexer(new QsciLexerHTML(textEdit));")
... and one from SciTE, that shows xml the way i would like to see it in
my qt-app

so ... what is wrong:
- the QSci Lexer marks unknown Tags/Attributes red (but there is no
unknown tags in xml ... it is_* *_*_EXTENSIBLE_ Markup Language* )
- the QSci Lexer has no folding for xml

... or is there any option in the HTML-Lexer to switch this behavior?
(couldn't find something like that)

Kind regards,
Stefan Langer




-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrongXMLlexer.png
Type: image/png
Size: 19679 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20080502/bb93927b/wrongXMLlexer-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scintillaBasedXMLlexer.png
Type: image/png
Size: 12961 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20080502/bb93927b/scintillaBasedXMLlexer-0001.png


More information about the QScintilla mailing list