forked from qt-creator/qt-creator
QmlJSEditor: using RefactorMarker for Qt Quick ToolBar
* Proper implementation using a timer * We also do a revision check now * The RefactorMarker is only shown for types that we support
This commit is contained in:
@@ -243,6 +243,7 @@ private slots:
|
||||
void jumpToOutlineElement(int index);
|
||||
void updateOutlineNow();
|
||||
void updateOutlineIndexNow();
|
||||
void updateCursorPositionNow();
|
||||
void updateFileName();
|
||||
|
||||
void updateUses();
|
||||
@@ -255,6 +256,7 @@ private slots:
|
||||
void forceSemanticRehighlight();
|
||||
void updateSemanticInfo(const QmlJSEditor::Internal::SemanticInfo &semanticInfo);
|
||||
void onCursorPositionChanged();
|
||||
void onRefactorMarkerClicked(const TextEditor::Internal::RefactorMarker &marker);
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
@@ -292,6 +294,7 @@ private:
|
||||
QTimer *m_semanticRehighlightTimer;
|
||||
QTimer *m_updateOutlineTimer;
|
||||
QTimer *m_updateOutlineIndexTimer;
|
||||
QTimer *m_curserPositionTimer;
|
||||
QComboBox *m_outlineCombo;
|
||||
QmlOutlineModel *m_outlineModel;
|
||||
QModelIndex m_outlineModelIndex;
|
||||
|
||||
Reference in New Issue
Block a user