diff options
author | nyamatongwe <unknown> | 2010-03-26 04:24:24 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-03-26 04:24:24 +0000 |
commit | e574ca610dd8924143e497fffd240378d267abae (patch) | |
tree | da701f645add4cb6f4104fd8aea010e46f06b549 /src/Document.h | |
parent | c42b517cbf2c7e85b3f0528fc130a349f391f888 (diff) | |
download | scintilla-mirror-e574ca610dd8924143e497fffd240378d267abae.tar.gz |
Simplify code and use better variable names.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 73571cbdd..55df77fcb 100644 --- a/src/Document.h +++ b/src/Document.h @@ -273,7 +273,8 @@ public: int Length() const { return cb.Length(); } void Allocate(int newSize) { cb.Allocate(newSize); } size_t ExtractChar(int pos, char *bytes); - long FindText(int minPos, int maxPos, const char *s, bool caseSensitive, bool word, + bool MatchesWordOptions(bool word, bool wordStart, int pos, int length); + long FindText(int minPos, int maxPos, const char *search, bool caseSensitive, bool word, bool wordStart, bool regExp, int flags, int *length, CaseFolder *pcf); const char *SubstituteByPosition(const char *text, int *length); int LinesTotal() const; |