aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Accessor.h6
-rw-r--r--include/KeyWords.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/Accessor.h b/include/Accessor.h
index fc67f07c0..b420397e2 100644
--- a/include/Accessor.h
+++ b/include/Accessor.h
@@ -5,12 +5,12 @@
enum { wsSpace = 1, wsTab = 2, wsSpaceTab = 4, wsInconsistent=8};
-class BufferAccess;
+class Accessor;
-typedef bool (*PFNIsCommentLeader)(BufferAccess &styler, int pos, int len);
+typedef bool (*PFNIsCommentLeader)(Accessor &styler, int pos, int len);
// Interface to data in a Scintilla
-class BufferAccess {
+class Accessor {
public:
virtual void SetCodePage(int codePage_)=0;
virtual char operator[](int position)=0;
diff --git a/include/KeyWords.h b/include/KeyWords.h
index 65c54379b..3159dcc1b 100644
--- a/include/KeyWords.h
+++ b/include/KeyWords.h
@@ -4,7 +4,7 @@
// The License.txt file describes the conditions under which this software may be distributed.
typedef void (*LexerFunction)(unsigned int startPos, int lengthDoc, int initStyle,
- WordList *keywordlists[], BufferAccess &styler);
+ WordList *keywordlists[], Accessor &styler);
class LexerModule {
static LexerModule *base;
@@ -14,7 +14,7 @@ class LexerModule {
public:
LexerModule(int language_, LexerFunction fn_);
static void Colourise(unsigned int startPos, int lengthDoc, int initStyle,
- int language, WordList *keywordlists[], BufferAccess &styler);
+ int language, WordList *keywordlists[], Accessor &styler);
};
inline bool iswordchar(char ch) {