diff options
author | David Schulz <david.schulz@qt.io> | 2021-06-28 09:13:57 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2021-09-27 10:56:54 +0000 |
commit | c00330f905ee450949b96e201944e7f528c265d3 (patch) | |
tree | 2c5048c1cd9ee4f2b05b73d3b7448f932471d15a /src/plugins/diffeditor | |
parent | eefb3859187349003be3d30fc529c27d300c37d4 (diff) |
Editor: multi cursor support
Adding a way to create multiple cursors that can insert/remove text at
arbitrary positions in the document. Adding cursors is done by pressing
alt + up/down or by clicking into the editor while holding the alt key.
Fixes: QTCREATORBUG-16013
Change-Id: I495d27d95a3d277220946616ef30efc241da0120
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/diffeditor')
-rw-r--r-- | src/plugins/diffeditor/sidebysidediffeditorwidget.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp b/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp index 0f861506e25..2fad95cfd2e 100644 --- a/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp +++ b/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp @@ -396,7 +396,6 @@ int SideDiffEditorWidget::chunkRowsCountForBlockNumber(int blockNumber) const void SideDiffEditorWidget::clearAll(const QString &message) { - setBlockSelection(false); clear(); clearAllData(); setExtraSelections(TextEditorWidget::OtherSelection, |