forked from qt-creator/qt-creator
QmlJSEditor: Move ownership of QmlJSTextMarks to document
Task-number: QTCREATORBUG-19607 Change-Id: I65fa11b43dcbe3c28ab100a1636ad592cfff5a4d Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,8 +47,6 @@ namespace QmlJS {
|
||||
namespace AST { class UiObjectMember; }
|
||||
}
|
||||
|
||||
namespace TextEditor { class TextMark; }
|
||||
|
||||
namespace QmlJSEditor {
|
||||
|
||||
class QmlJSEditorDocument;
|
||||
@@ -129,14 +127,6 @@ private:
|
||||
QmlJS::IContextPane *m_contextPane = nullptr;
|
||||
int m_oldCursorPosition = -1;
|
||||
|
||||
void createTextMarks(const QList<QmlJS::DiagnosticMessage> &diagnostics);
|
||||
void cleanDiagnosticMarks();
|
||||
QVector<TextEditor::TextMark *> m_diagnosticMarks;
|
||||
|
||||
void createTextMarks(const QmlJSTools::SemanticInfo &info);
|
||||
void cleanSemanticMarks();
|
||||
QVector<TextEditor::TextMark *> m_semanticMarks;
|
||||
|
||||
FindReferences *m_findReferences;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user