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

multiline brackets highlight with ternary operator

XMLWordPrintable

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

      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));
      

       

        1. rightHighlight.png
          0.9 kB
          Alex
        2. wrongHighlight1.png
          2 kB
          Alex
        3. wrongHighlight2.png
          2 kB
          Alex
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes