forked from qt-creator/qt-creator
qmlsjeditor: activate context pane
This commit is contained in:
@@ -49,6 +49,7 @@ class ICore;
|
||||
|
||||
namespace QmlJS {
|
||||
class ModelManagerInterface;
|
||||
class IContextPane;
|
||||
}
|
||||
|
||||
namespace QmlJSEditor {
|
||||
@@ -237,9 +238,12 @@ private slots:
|
||||
void semanticRehighlight();
|
||||
void forceSemanticRehighlight();
|
||||
void updateSemanticInfo(const QmlJSEditor::Internal::SemanticInfo &semanticInfo);
|
||||
void onCursorPositionChanged();
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
bool event(QEvent *e);
|
||||
void wheelEvent(QWheelEvent *event);
|
||||
TextEditor::BaseTextEditorEditable *createEditableInterface();
|
||||
void createToolBar(QmlJSEditorEditable *editable);
|
||||
TextEditor::BaseTextEditor::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true);
|
||||
@@ -273,6 +277,9 @@ private:
|
||||
|
||||
SemanticHighlighter *m_semanticHighlighter;
|
||||
SemanticInfo m_semanticInfo;
|
||||
|
||||
QmlJS::IContextPane *m_contextPane;
|
||||
int m_oldCurserPosition;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user