forked from qt-creator/qt-creator
SyntaxHighlighter: Move static functions to other namespace
- Created HighlighterHelper namespace and static functions were moved there from the highlighter class Change-Id: Ib93785a3819317d7c1d5cc480652d4635cb9339b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "findinfiles.h"
|
||||
#include "findinopenfiles.h"
|
||||
#include "fontsettings.h"
|
||||
#include "highlighter.h"
|
||||
#include "highlighterhelper.h"
|
||||
#include "icodestylepreferences.h"
|
||||
#include "jsoneditor.h"
|
||||
#include "linenumberfilter.h"
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "snippets/snippetprovider.h"
|
||||
#include "tabsettings.h"
|
||||
#include "textdocument.h"
|
||||
#include "textdocument.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditorsettings.h"
|
||||
@@ -437,7 +436,7 @@ LineNumberFilter *TextEditorPlugin::lineNumberFilter()
|
||||
|
||||
ExtensionSystem::IPlugin::ShutdownFlag TextEditorPlugin::aboutToShutdown()
|
||||
{
|
||||
Highlighter::handleShutdown();
|
||||
HighlighterHelper::handleShutdown();
|
||||
return SynchronousShutdown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user