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

Code folding confused by edits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 14.0.0
    • Qt Creator 3.1.0-beta
    • Editors
    • None
    • OpenSUSE x64

      This happens not only for current master, but I just confirmed, that it is present there.
      In the attachments you can see example code and my edits. Take a look at folding indicator in the firs and last picture. This is not only display error - it actually folds code like that. Basically when I flatten some nested blocks, I hit this error. And from now on I cannot fold normally. Instead it folds everything to the very end of edited file, which is quite annoying with longer source.

      The only way I found to fix folding is to close and reopen the editor.

        1. 1.png
          1.png
          15 kB
        2. 2.png
          2.png
          14 kB
        3. 3.png
          3.png
          14 kB
        4. 4.png
          4.png
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            slither Jakub Zakrzewski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes