aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexSQL.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/LexSQL.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/LexSQL.cxx')
-rw-r--r--src/LexSQL.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx
index 900f8ddc2..6433776ca 100644
--- a/src/LexSQL.cxx
+++ b/src/LexSQL.cxx
@@ -17,7 +17,7 @@
#include "Scintilla.h"
#include "SciLexer.h"
-static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keywords, StylingContext &styler) {
+static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keywords, BufferAccess &styler) {
char s[100];
bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.');
for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) {
@@ -35,7 +35,7 @@ static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keyw
}
static void ColouriseSQLDoc(unsigned int startPos, int length,
- int initStyle, WordList *keywordlists[], StylingContext &styler) {
+ int initStyle, WordList *keywordlists[], BufferAccess &styler) {
WordList &keywords = *keywordlists[0];