forked from qt-creator/qt-creator
TextEditor: fix multi text cursor unindent via backspace
Change-Id: Iec2e9251b977ccbd7433009ac3e706a9327c704c Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -6846,7 +6846,7 @@ void TextEditorWidgetPrivate::handleBackspaceKey()
|
|||||||
if (cursorWithinSnippet)
|
if (cursorWithinSnippet)
|
||||||
m_snippetOverlay->accept();
|
m_snippetOverlay->accept();
|
||||||
cursorWithinSnippet = false;
|
cursorWithinSnippet = false;
|
||||||
q->unindent();
|
c = m_document->unindent(MultiTextCursor({c})).mainCursor();
|
||||||
}
|
}
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user