diff options
author | nyamatongwe <devnull@localhost> | 2002-05-20 07:34:04 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-05-20 07:34:04 +0000 |
commit | 51abc6e7d4e9c37a98266eba25589c24a713d64b (patch) | |
tree | a425cf35f23c06b1da47c35c1a6295414da3c3f5 | |
parent | 58ce6d598f1d842ee317baf8ed208df33daa46e4 (diff) | |
download | scintilla-mirror-51abc6e7d4e9c37a98266eba25589c24a713d64b.tar.gz |
Added a Match method to Accessor to make it easy to check for strings in a document. Moved IsASpaceOrTab into StyleContext header.
-rw-r--r-- | include/Accessor.h | 1 | ||||
-rw-r--r-- | include/WindowAccessor.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Accessor.h b/include/Accessor.h index 17c951067..0b2c4baee 100644 --- a/include/Accessor.h +++ b/include/Accessor.h @@ -55,6 +55,7 @@ public: } void SetCodePage(int codePage_) { codePage = codePage_; } + virtual bool Match(int pos, const char *s)=0; virtual char StyleAt(int position)=0; virtual int GetLine(int position)=0; virtual int LineStart(int line)=0; diff --git a/include/WindowAccessor.h b/include/WindowAccessor.h index 7fd8e30fd..6c16b150f 100644 --- a/include/WindowAccessor.h +++ b/include/WindowAccessor.h @@ -31,6 +31,7 @@ public: lenDoc(-1), validLen(0), chFlags(0), chWhile(0) { } ~WindowAccessor(); + bool Match(int pos, const char *s); char StyleAt(int position); int GetLine(int position); int LineStart(int line); |