diff options
author | Neil <nyamatongwe@gmail.com> | 2017-09-11 09:05:35 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-09-11 09:05:35 +1000 |
commit | 313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf (patch) | |
tree | 2ec6649c5e74a1d7127d150f485432def1814a1a /src/Document.cxx | |
parent | 7b287ecd7f8527bb8f47e08090a0120ff418c730 (diff) | |
download | scintilla-mirror-313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf.tar.gz |
The Scintilla namespace is always active for internal symbols and for the lexer
interfaces ILexer4 and IDocument.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index c3a81f23d..7da62ff8f 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -52,9 +52,7 @@ #include "UniConversion.h" #include "UnicodeFromUTF8.h" -#ifdef SCI_NAMESPACE using namespace Scintilla; -#endif void LexInterface::Colourise(Sci::Position start, Sci::Position end) { if (pdoc && instance && !performingStyle) { @@ -3094,18 +3092,8 @@ const char *BuiltinRegex::SubstituteByPosition(Document *doc, const char *text, #ifndef SCI_OWNREGEX -#ifdef SCI_NAMESPACE - RegexSearchBase *Scintilla::CreateRegexSearch(CharClassify *charClassTable) { return new BuiltinRegex(charClassTable); } -#else - -RegexSearchBase *CreateRegexSearch(CharClassify *charClassTable) { - return new BuiltinRegex(charClassTable); -} - -#endif - #endif |