aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-10-22 09:15:44 +0000
committernyamatongwe <devnull@localhost>2008-10-22 09:15:44 +0000
commitf2d62a1f7248d0edc0b4dd5daf5808a414abdc83 (patch)
treefe4b653eb22de1712ef03ba0506def606e76d283 /src/Document.cxx
parentc3149f7b98e75b95dd5e0ec11c08b4757f29b2af (diff)
downloadscintilla-mirror-f2d62a1f7248d0edc0b4dd5daf5808a414abdc83.tar.gz
Fixes a namespace problem with the new replaceable regex.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index bded3a32a..a5cdf2fb6 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -1657,8 +1657,16 @@ const char *BuiltinRegex::SubstituteByPosition(Document* doc, const char *text,
#ifndef SCI_OWNREGEX
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
RegexSearchBase *CreateRegexSearch(CharClassify *charClassTable) {
return new BuiltinRegex(charClassTable);
}
+#ifdef SCI_NAMESPACE
+}
+#endif
+
#endif