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

QtCreator 4.7.0 Parentheses/Operator highlight is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.7.0
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

    Description

      Editor does not highlight Parentheses/Operator correctly when using QtCreator 4.7.0.

      Also in Options -> Text Editor I believe UI does not function properly like in 4.6.2.

      Cannot correctly highlight current selection (white foreground, blue background) and behave strangely in 4.7.0.

       

      In my style I set both Parentheses and Operator color to green.

      As you can see in attachment, only operator "&" is green as expected.

      operator "::" and ";" does not correctly highlighted.

      Parentheses "()<>{}" are not correctly highlighted (but [] is, why?)

      When I put cursor to parentheses ")" and it highlight corresponding matching "(", you can see that they still color green correctly only in this matching highlight mode.

      I also tried to change color of 4.7.0 newly added "Overload Operators" but above cases are not highlighted to the "Overload Operators" color.

      Attachments

        1. qtc462highlight.png
          107 kB
          Meng-Yen Li
        2. qtc470highlight.png
          117 kB
          Meng-Yen Li
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            blazar0112 Meng-Yen Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes