Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 15.0.0 (15.0 branch)
-
None
-
-
8c7d4414d (master)
Description
When placing cursor inside an empty brace pair
void f()
{ // cursor is here
}
and pressing "Enter", QtC inserts not only an empty line, but also one more closing brace:
void f()
{
// cursor is here
}
}
Does not happen when initial brace pair is in the single line.
Attachments
For Gerrit Dashboard: QTCREATORBUG-31601 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
593313,2 | TextEditor: Fix TextDocumentLayout::braceDepth() | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |