aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-03-26 04:24:24 +0000
committernyamatongwe <devnull@localhost>2010-03-26 04:24:24 +0000
commit9d3b3ebfd5cc7f84e4afe5dc9ecab9d44055eee8 (patch)
treeda701f645add4cb6f4104fd8aea010e46f06b549 /src/Document.h
parent0fef28514f648522f7e62abee2ed729cf5d94063 (diff)
downloadscintilla-mirror-9d3b3ebfd5cc7f84e4afe5dc9ecab9d44055eee8.tar.gz
Simplify code and use better variable names.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h3
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;