forked from qt-creator/qt-creator
TextEditor: Remove HighLighterFactory
Unused. Change-Id: Idd9805756c51e025e99842fa6fc8707b10927c4d Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
#include <texteditor/highlighterfactory.h>
|
||||
|
||||
#include <QtPlugin>
|
||||
#include <QCoreApplication>
|
||||
@@ -225,12 +224,6 @@ bool PythonEditorPlugin::initialize(const QStringList &arguments, QString *error
|
||||
// Add Python files and classes creation dialogs
|
||||
addAutoReleasedObject(new ClassWizard);
|
||||
|
||||
auto hf = new TextEditor::HighlighterFactory;
|
||||
hf->setId(Constants::C_PYTHONEDITOR_ID);
|
||||
hf->setProductType<PythonHighlighter>();
|
||||
hf->addMimeType(QLatin1String(Constants::C_PY_MIMETYPE));
|
||||
addAutoReleasedObject(hf);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user