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

GenericHighlighter: prioritize color settings

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.11.0-beta1
    • None
    • Editors
    • 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

          For Gerrit Dashboard: QTCREATORBUG-13545
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes