diff options
| author | Neil <nyamatongwe@gmail.com> | 2015-06-04 17:47:44 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2015-06-04 17:47:44 +1000 |
| commit | aac2be8ef9583ddccbb18ed281d7cf525ddb7b09 (patch) | |
| tree | fb0c89a566986914229873b14550812da53dcde2 /src/Document.h | |
| parent | 0701b3c87a62d2a9413b5330b7f01d69d0ba91b3 (diff) | |
| download | scintilla-mirror-aac2be8ef9583ddccbb18ed281d7cf525ddb7b09.tar.gz | |
Move FindText flag decoding from caller to function to minimize code and chance
of mistakes.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index 5e66dc2b6..923462e7a 100644 --- a/src/Document.h +++ b/src/Document.h @@ -384,8 +384,7 @@ public: bool MatchesWordOptions(bool word, bool wordStart, int pos, int length) const; bool HasCaseFolder(void) const; void SetCaseFolder(CaseFolder *pcf_); - long FindText(int minPos, int maxPos, const char *search, bool caseSensitive, bool word, - bool wordStart, bool regExp, int flags, int *length); + long FindText(int minPos, int maxPos, const char *search, int flags, int *length); const char *SubstituteByPosition(const char *text, int *length); int LinesTotal() const; |
