forked from qt-creator/qt-creator
SyntaxHighlighter: Fix leaking
Change-Id: Icd9e6cb18facbcb28692db114b952e96a66e2836 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -62,6 +62,12 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
~TextDocumentPrivate()
|
||||
{
|
||||
if (m_highlighterRunner)
|
||||
m_highlighterRunner->deleteLater();
|
||||
}
|
||||
|
||||
MultiTextCursor indentOrUnindent(const MultiTextCursor &cursor, bool doIndent, const TabSettings &tabSettings);
|
||||
void resetRevisions();
|
||||
void updateRevisions();
|
||||
|
||||
Reference in New Issue
Block a user