Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 11.0.0-rc1
Description
Steps to reproduce:
- add some simple function
void func() { }
- check indentation below this function - everything is fine (adding stuff / Ctrl+I works as expected)
- get back inside the function, into the line currently only containing whitespaces (for its indent)
- remove all ws from end to beginning by using backspace until you're back in the predecessor line right after the curly brace
- now use Delete key to bring the closing curly brace one line above, code should now look like
void func() {}
with the cursor placed between the curly braces
- step out of this by using Cursor-Right / Cursor-Down
- check indentation below the function - everything now has minimum indentation of what would have been inside the curly braces before modifying
Note: Modifying the line of void func().. now (or any line before this line lets the indentation work again correctly also below the function)
Attachments
Issue Links
- duplicates
-
QTBUG-45454 Pressing "Delete" at line end doesn't mark it as modified
-
- Reported
-
-
QTBUG-92580 the block revision is not increased after joining two blocks in a QPlainTextEdit
-
- Reported
-