diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-12-13 10:15:42 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-12-13 10:15:42 +1100 | 
| commit | 54c7ef44396c43b964060cb15e2ebdbf7359cb02 (patch) | |
| tree | 19e0aaa84f43dff55da2a4adefbbccdcc543a201 /qt | |
| parent | 9f57c6efaee18d374da2abdb2e556830f2beb592 (diff) | |
| download | scintilla-mirror-54c7ef44396c43b964060cb15e2ebdbf7359cb02.tar.gz | |
Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.
This allows removal of related #include statements.
Diffstat (limited to 'qt')
| -rw-r--r-- | qt/ScintillaEditBase/ScintillaQt.cpp | 10 | ||||
| -rw-r--r-- | qt/ScintillaEditBase/ScintillaQt.h | 5 | 
2 files changed, 0 insertions, 15 deletions
| diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index 80e1f9949..87e05f12d 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -10,10 +10,6 @@  #include "ScintillaQt.h"  #include "PlatQt.h" -#ifdef SCI_LEXER -#include "LexerModule.h" -#include "ExternalLexer.h" -#endif  #include <QApplication>  #include <QDrag> @@ -704,12 +700,6 @@ sptr_t ScintillaQt::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam)  		case SCI_GETDIRECTPOINTER:  			return reinterpret_cast<sptr_t>(this); -#ifdef SCI_LEXER -		case SCI_LOADLEXERLIBRARY: -			LexerManager::GetInstance()->Load(reinterpret_cast<const char *>(lParam)); -			break; -#endif -  		default:  			return ScintillaBase::WndProc(iMessage, wParam, lParam);  		} diff --git a/qt/ScintillaEditBase/ScintillaQt.h b/qt/ScintillaEditBase/ScintillaQt.h index ffb9af380..7f69b2b54 100644 --- a/qt/ScintillaEditBase/ScintillaQt.h +++ b/qt/ScintillaEditBase/ScintillaQt.h @@ -59,11 +59,6 @@  #include "ScintillaBase.h"  #include "CaseConvert.h" -#ifdef SCI_LEXER -#include "SciLexer.h" -#include "PropSetSimple.h" -#endif -  #include <QObject>  #include <QAbstractScrollArea>  #include <QAction> | 
