From aac2be8ef9583ddccbb18ed281d7cf525ddb7b09 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 4 Jun 2015 17:47:44 +1000 Subject: Move FindText flag decoding from caller to function to minimize code and chance of mistakes. --- src/Document.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Document.h') 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; -- cgit v1.2.3