forked from qt-creator/qt-creator
QmlDesigner Fix for the BindingEditor
Change-Id: Ic0747bdd449a33ce7dd4b4094adfbbff259a4ee3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -112,7 +112,9 @@ TextEditor::AssistInterface *BindingEditorWidget::createAssistInterface(TextEdit
|
|||||||
class BindingDocument : public QmlJSEditor::QmlJSEditorDocument
|
class BindingDocument : public QmlJSEditor::QmlJSEditorDocument
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BindingDocument() : m_semanticHighlighter(new QmlJSEditor::SemanticHighlighter(this)) {}
|
BindingDocument()
|
||||||
|
: QmlJSEditor::QmlJSEditorDocument(BINDINGEDITOR_CONTEXT_ID)
|
||||||
|
, m_semanticHighlighter(new QmlJSEditor::SemanticHighlighter(this)) {}
|
||||||
~BindingDocument() { delete m_semanticHighlighter; }
|
~BindingDocument() { delete m_semanticHighlighter; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Reference in New Issue
Block a user