aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexVB.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-04 09:17:32 +0000
committernyamatongwe <unknown>2000-04-04 09:17:32 +0000
commit42799425f8c02442df8b1af1a024a3fe8fa6e93f (patch)
tree5438281b06996314dfc3c8250769b1604b413728 /src/LexVB.cxx
parent9babe727ae58180f27c35a35ffffc379f44d99ff (diff)
downloadscintilla-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/LexVB.cxx')
-rw-r--r--src/LexVB.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexVB.cxx b/src/LexVB.cxx
index a78ea07b5..2b2154f21 100644
--- a/src/LexVB.cxx
+++ b/src/LexVB.cxx
@@ -17,7 +17,7 @@
#include "Scintilla.h"
#include "SciLexer.h"
-static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywords, StylingContext &styler) {
+static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywords, BufferAccess &styler) {
char s[100];
bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.');
@@ -43,7 +43,7 @@ static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywor
}
static void ColouriseVBDoc(unsigned int startPos, int length, int initStyle,
- WordList *keywordlists[], StylingContext &styler) {
+ WordList *keywordlists[], BufferAccess &styler) {
WordList &keywords = *keywordlists[0];