From 1bd2d31b3ce8714ddeba3d9825a8a605e55751cf Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 29 Apr 2001 13:32:10 +0000 Subject: Addition of new target methods - versions of ReplaceTarget that take counted strings to allow for nulls, SearchInTarget and Get/SetSearchFlags to use a series of calls rather than a structure. Handling of \000 in search and replace. Handling of /escapes within character ranges of regular expressions. Some handling of bare ^ and $ regular expressions. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index bfc1a6e57..aac0a971b 100644 --- a/src/Document.h +++ b/src/Document.h @@ -180,7 +180,7 @@ public: long FindText(int minPos, int maxPos, const char *s, bool caseSensitive, bool word, bool wordStart, bool regExp, int *length); long FindText(int iMessage, unsigned long wParam, long lParam); - const char *SubstituteByPosition(const char *text); + const char *SubstituteByPosition(const char *text, int *length); int LinesTotal(); void ChangeCase(Range r, bool makeUpperCase); -- cgit v1.2.3