Changeset 1110 for s10k/CommonLibs/BasicXMLSyntaxHighlighter
- Timestamp:
- Feb 16, 2019, 6:24:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
s10k/CommonLibs/BasicXMLSyntaxHighlighter/BasicXMLSyntaxHighlighter.h
r1096 r1110 27 27 // This XML highligter is the same from Dmitry Ivanov available here: 28 28 // https://github.com/d1vanov/basic-xml-syntax-highlighter 29 // with some slightly modifications by random-guy (https://github.com/random-guy)29 // with some slightly modifications by fabiobento512 (https://github.com/fabiobento512) 30 30 // (like different colors, and remove of unneeded constructors) 31 31 … … 44 44 protected: 45 45 virtual void highlightBlock(const QString & text); 46 46 47 47 private: 48 48 void highlightByRegex(const QTextCharFormat & format, … … 52 52 void setFormats(); 53 53 54 pr ivate:54 protected: 55 55 QTextCharFormat m_xmlKeywordFormat; 56 56 QTextCharFormat m_xmlElementFormat;
Note:
See TracChangeset
for help on using the changeset viewer.