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

Unnecessary scrolling up to first line, when undo reformat after saving file.

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Preconditions:

      • plugin ClangFormat on
      • Option -> C++ -> Code style: Format edited code on file save; checked
      • Source code file with more lines that window 

      How to reproduce:

      • scroll down
      • type something to force refactor tool to break line (for example in one line type: cout << "Hello World!" << endl;cout << "Hello World2!" << endl; )
      • save file (Ctrl + s)
      • undo (Ctrl + z)

       

      Effect (100% reproducible):

      Text editor scroll unnecessary up to the first line.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            peer77 Paweł Rogoż
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes