forked from qt-creator/qt-creator
Editor: Select moved text after drag and drop
Fixes: QTCREATORBUG-24245 Change-Id: I9da52424128825f729d5d20e2c7fd095120477c6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -530,6 +530,7 @@ protected:
|
||||
QMimeData *createMimeDataFromSelection() const override;
|
||||
bool canInsertFromMimeData(const QMimeData *source) const override;
|
||||
void insertFromMimeData(const QMimeData *source) override;
|
||||
void dropEvent(QDropEvent *e) override;
|
||||
|
||||
virtual QString plainTextFromSelection(const QTextCursor &cursor) const;
|
||||
static QString convertToPlainText(const QString &txt);
|
||||
|
||||
Reference in New Issue
Block a user