aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 76f0e101b..af477dd79 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -164,7 +164,8 @@ public:
int ExtendWordSelect(int pos, int delta);
int NextWordStart(int pos, int delta);
int Length() { return cb.Length(); }
- long FindText(int minPos, int maxPos, const char *s, bool caseSensitive, bool word);
+ long FindText(int minPos, int maxPos, const char *s,
+ bool caseSensitive, bool word, bool wordStart);
long FindText(int iMessage, unsigned long wParam, long lParam);
int LinesTotal();
@@ -190,6 +191,8 @@ public:
private:
bool IsDBCS(int pos);
bool IsWordChar(unsigned char ch);
+ bool IsWordStartAt(int pos);
+ bool IsWordEndAt(int pos);
bool IsWordAt(int start, int end);
void ModifiedAt(int pos);