diff options
author | nyamatongwe <unknown> | 2000-04-04 09:17:32 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-04-04 09:17:32 +0000 |
commit | 42799425f8c02442df8b1af1a024a3fe8fa6e93f (patch) | |
tree | 5438281b06996314dfc3c8250769b1604b413728 /src/ScintillaBase.cxx | |
parent | 9babe727ae58180f27c35a35ffffc379f44d99ff (diff) | |
download | scintilla-mirror-42799425f8c02442df8b1af1a024a3fe8fa6e93f.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.cxx | 5 |
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) |