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 | d3c03f65fe25e133b8ef8a5f67b675b434605305 (patch) | |
tree | 648194fe02ee266b1e4ee4530a3978037e883bc5 /src/Document.cxx | |
parent | 566b81a2fda39f83e4fbc860388385c2d3087d33 (diff) | |
download | scintilla-mirror-d3c03f65fe25e133b8ef8a5f67b675b434605305.tar.gz |
Backport: The Scintilla namespace is always active for internal symbols and for the lexer and document interfaces.
Backport of changeset 6388:d62863ae40a3.
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 01c38a579..68911a6fa 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) { @@ -3098,18 +3096,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 |