forked from qt-creator/qt-creator
Editor: enable optional actions per editor
Use an additional action mask to enable actions like find usage and rename symbol per editor instance. Change-Id: Iabee1820d0f3c156ad30ba760bfce9f6181045e6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -204,6 +204,9 @@ public:
|
||||
|
||||
void appendStandardContextMenuActions(QMenu *menu);
|
||||
|
||||
uint optionalActionMask();
|
||||
void addOptionalActions(uint optionalActionMask);
|
||||
|
||||
void setAutoCompleter(AutoCompleter *autoCompleter);
|
||||
AutoCompleter *autoCompleter() const;
|
||||
|
||||
@@ -492,6 +495,7 @@ signals:
|
||||
bool resolveTarget, bool inNextSplit);
|
||||
void requestUsages(const QTextCursor &cursor);
|
||||
void requestRename(const QTextCursor &cursor);
|
||||
void optionalActionMaskChanged();
|
||||
|
||||
protected:
|
||||
QTextBlock blockForVisibleRow(int row) const;
|
||||
|
||||
Reference in New Issue
Block a user