Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
06026b7cf456a447c89ed3a1f16054fe94f260de (qt-creator/qt-creator/master)
Description
It would be nice if you would handle highlighting in a more generic way (as additional highlight definitions can be downloaded) :
- if a highlight definition has a defined key (dsString, dsKeyword, dsDataType,...) completely ignore the color definition of the provided xml and always use the defined color of the current scheme
- if a highlight definition has not a defined key but provides a color use this
- if a highlight definition has not a defined key and does not provide a color on its own use some default (dsNormal?)
Note: it would be even more cool to have the ability to define own keys for a custom scheme. E.g. you know that some highlight definition uses 'dsSpecialFunction' you could define a color/font definition inside your custom scheme explicitly for this key which would be used.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-22229 Wrong color of ON or OFF in CMakeLists.txt
- Closed
- resulted from
-
QTCREATORBUG-13538 Cannot change color of XML attribute values
- Closed
For Gerrit Dashboard: QTCREATORBUG-13545 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
266867,5 | Highlighter: Apply specific ksyntax format attributes | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
274253,2 | Doc: Describe applying font attributes from syntax definition files | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |