Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
Qt Creator 4.12.2
-
None
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.