aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-04 09:17:32 +0000
committernyamatongwe <devnull@localhost>2000-04-04 09:17:32 +0000
commit3032c371bd9231f097226869e80bf56543ae2cab (patch)
tree5438281b06996314dfc3c8250769b1604b413728 /src/ScintillaBase.cxx
parent943cf3a48da52953c1f2377d9e412ae81b79b5e0 (diff)
downloadscintilla-mirror-3032c371bd9231f097226869e80bf56543ae2cab.tar.gz
Split a Document based Accessor (DocumentAccessor) off from
the old accessor which is now called WindowAccessor. Accessor.h defines a common interface which is the type consumed by the lexers.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index 21f984044..76177f242 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -15,6 +15,8 @@
#include "SciLexer.h"
#include "PropSet.h"
#include "Accessor.h"
+#include "WindowAccessor.h"
+#include "DocumentAccessor.h"
#include "KeyWords.h"
#endif
#include "ContractionState.h"
@@ -276,7 +278,8 @@ void ScintillaBase::Colourise(int start, int end) {
end = lengthDoc;
int len = end - start;
- StylingContext styler(wMain.GetID(), props);
+ //WindowAccessor styler(wMain.GetID(), props);
+ DocumentAccessor styler(pdoc, props);
int styleStart = 0;
if (start > 0)