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

Default case in switch/case is colored as a label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 2.7.0
    • Qt Creator 2.5.0-beta
    • Editors
    • None
    • 0fcf5515e5efa9549bb7e62a8b8a35075ada8949

      The "default" keyword in the switch/case statement is sometimes colored as a label rather than a keyword. The attached file, if opened in the QtCreator editor, demonstrates the problem.

      The invalid coloring does not appear in all cases and apparently depends on the surrounding code and included headers.

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

            davschul David Schulz
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes