forked from qt-creator/qt-creator
TextEditor: move rename symbol action to text editor
Task-number: QTCREATORBUG-21578 Change-Id: I9a873dcd38bacb2287c45973b6be0091c3eb9480 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -453,6 +453,7 @@ public:
|
||||
void openLinkUnderCursorInNextSplit();
|
||||
|
||||
virtual void findUsages();
|
||||
virtual void renameSymbolUnderCursor();
|
||||
|
||||
/// Abort code assistant if it is running.
|
||||
void abortAssist();
|
||||
@@ -490,6 +491,7 @@ signals:
|
||||
void requestLinkAt(const QTextCursor &cursor, Utils::ProcessLinkCallback &callback,
|
||||
bool resolveTarget, bool inNextSplit);
|
||||
void requestUsages(const QTextCursor &cursor);
|
||||
void requestRename(const QTextCursor &cursor);
|
||||
|
||||
protected:
|
||||
QTextBlock blockForVisibleRow(int row) const;
|
||||
|
||||
Reference in New Issue
Block a user