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

multiline brackets highlight with ternary operator

    XMLWordPrintable

Details

    • Windows
    • f84e4ea8ccdaa2b422255ec61bbf573a78030edf (qt-creator/qt-creator/5.0)

    Description

      Wrong hightlight for brackets and missing bracket for miltiline ternary operator.

      Example code:

      Right higlight:

      int a = (( true ? 0 : 1));

       

      Wrong highlight: 

      int a = (( true ? 0
      : 1));
      

       

      Attachments

        1. rightHighlight.png
          rightHighlight.png
          0.9 kB
        2. wrongHighlight1.png
          wrongHighlight1.png
          2 kB
        3. wrongHighlight2.png
          wrongHighlight2.png
          2 kB

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              shaker Alex
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes