forked from qt-creator/qt-creator
TextEditor: replace generic highlighter with ksyntaxhighlighting
Fixes: QTCREATORBUG-21029 Change-Id: I9894c4384e0e47da6bf030b7b8e07c3ad4737ff3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#include "texteditor.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "typingsettings.h"
|
||||
#include <texteditor/generichighlighter/highlighter.h>
|
||||
#include <coreplugin/diffservice.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
@@ -340,9 +339,6 @@ void TextDocument::setTabSettings(const TabSettings &newTabSettings)
|
||||
return;
|
||||
d->m_tabSettings = newTabSettings;
|
||||
|
||||
if (auto highlighter = qobject_cast<Highlighter *>(d->m_highlighter))
|
||||
highlighter->setTabSettings(tabSettings());
|
||||
|
||||
emit tabSettingsChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user