Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13545

GenericHighlighter: prioritize color settings

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.11.0-beta1
    • None
    • Editors
    • None
    • 06026b7cf456a447c89ed3a1f16054fe94f260de (qt-creator/qt-creator/master)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes