aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-04 13:35:59 +0000
committernyamatongwe <unknown>2000-04-04 13:35:59 +0000
commit416476290c88d15ac7297989f77fac50f5c9fcef (patch)
tree3dced34d6c9f802d7e075554cea761616ce69c8b /include
parent42799425f8c02442df8b1af1a024a3fe8fa6e93f (diff)
downloadscintilla-mirror-416476290c88d15ac7297989f77fac50f5c9fcef.tar.gz
Avoid lots of warnings from Borland C++.
Changed name of interface class defined in Accessor.h to Accessor.
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) {