qmlsjeditor: activate context pane

This commit is contained in:
Thomas Hartmann
2010-07-07 13:09:30 +02:00
parent bc753969dc
commit 5a971334ef
2 changed files with 58 additions and 1 deletions

View File

@@ -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