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

Code folding confused by edits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 3.1.0-beta
    • Editors
    • None
    • OpenSUSE x64

    Description

      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.

      Attachments

        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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes