diff options
-rw-r--r-- | include/ILexer.h | 1 | ||||
-rw-r--r-- | src/Document.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ILexer.h b/include/ILexer.h index 60f2bdf10..ebd1a8843 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -41,6 +41,7 @@ public: virtual void SCI_METHOD ChangeLexerState(int start, int end) = 0; virtual int SCI_METHOD CodePage() const = 0; virtual bool SCI_METHOD IsDBCSLeadByte(char ch) const = 0; + virtual const char * SCI_METHOD BufferPointer() = 0; }; enum { lvOriginal=0 }; diff --git a/src/Document.h b/src/Document.h index 6d2c2d0bb..660ec7854 100644 --- a/src/Document.h +++ b/src/Document.h @@ -254,7 +254,7 @@ public: void AddUndoAction(int token, bool mayCoalesce) { cb.AddUndoAction(token, mayCoalesce); } void SetSavePoint(); bool IsSavePoint() { return cb.IsSavePoint(); } - const char *BufferPointer() { return cb.BufferPointer(); } + const char * SCI_METHOD BufferPointer() { return cb.BufferPointer(); } int GetLineIndentation(int line); void SetLineIndentation(int line, int indent); |