Editor: fix selecting multiple block selections with mouse

Change-Id: I5b46adbf38358d1396ee7120558648b1375e4047
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2022-04-14 14:53:20 +02:00
parent 63702b52e2
commit 3f9c1d5d2b
3 changed files with 8 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ public:
/// the \param cursor that is appended by added by \brief addCursor
/// will be interpreted as the new main cursor
void addCursor(const QTextCursor &cursor);
void addCursors(const QList<QTextCursor> &cursors);
/// convenience function that removes the old main cursor and appends
/// \param cursor as the new main cursor
void replaceMainCursor(const QTextCursor &cursor);