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 | 0c48f964dfc4ddeb4e7ff883e5885719724c76bd (patch) | |
tree | 863822c21cc6f8e691e436c482b63e4c1a95c8c1 /src/Document.h | |
parent | 8b117752e15d550ed93a3cbce9786b0df48ae49a (diff) | |
download | scintilla-mirror-0c48f964dfc4ddeb4e7ff883e5885719724c76bd.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; |