Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 4.8.0-beta1
-
None
Description
Qt Creator crashes when adding a newline (pressing Enter) between paranthesis if the last line of the source file is not visible.
Steps to reproduce:
- Start Qt Creator
- create new cpp source file
- add newlines until the editor is filled
- add some function
- add an if statement in the function with opening paranthesis so Qt Creator will automatically add the closing one
- scroll down until the if statement is in the last visible editor line
- press enter with the cursor in between the paranthesis
To be extra sure see the attached screenshot.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-21471 Crash when pressing return inside curly braces
-
- Closed
-