forked from qt-creator/qt-creator
QmlJSEditor: use direct member initialization
Change-Id: I03aada10107a9d80d920d18c92df7ec36e6a22d4 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -58,19 +58,19 @@ public:
|
||||
void updateOutlineModel();
|
||||
|
||||
public:
|
||||
QmlJSEditorDocument *q;
|
||||
QmlJSEditorDocument *q = nullptr;
|
||||
QTimer m_updateDocumentTimer; // used to compress multiple document changes
|
||||
QTimer m_reupdateSemanticInfoTimer; // used to compress multiple libraryInfo changes
|
||||
int m_semanticInfoDocRevision; // document revision to which the semantic info is currently updated to
|
||||
int m_semanticInfoDocRevision = -1; // document revision to which the semantic info is currently updated to
|
||||
SemanticInfoUpdater *m_semanticInfoUpdater;
|
||||
QmlJSTools::SemanticInfo m_semanticInfo;
|
||||
QVector<QTextLayout::FormatRange> m_diagnosticRanges;
|
||||
Internal::SemanticHighlighter *m_semanticHighlighter;
|
||||
bool m_semanticHighlightingNecessary;
|
||||
bool m_outlineModelNeedsUpdate;
|
||||
Internal::SemanticHighlighter *m_semanticHighlighter = nullptr;
|
||||
bool m_semanticHighlightingNecessary = false;
|
||||
bool m_outlineModelNeedsUpdate = false;
|
||||
bool m_firstSementicInfo = true;
|
||||
QTimer m_updateOutlineModelTimer;
|
||||
Internal::QmlOutlineModel *m_outlineModel;
|
||||
Internal::QmlOutlineModel *m_outlineModel = nullptr;
|
||||
};
|
||||
|
||||
} // Internal
|
||||
|
||||
Reference in New Issue
Block a user