diff options
author | nyamatongwe <unknown> | 2001-04-29 13:32:10 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-04-29 13:32:10 +0000 |
commit | 1bd2d31b3ce8714ddeba3d9825a8a605e55751cf (patch) | |
tree | e5e81d31814afcd65759d81fd0ec7e375ca7603d /src/Editor.h | |
parent | 47c3e67c26e19f237bab42d3a98019add82bb4b5 (diff) | |
download | scintilla-mirror-1bd2d31b3ce8714ddeba3d9825a8a605e55751cf.tar.gz |
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.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index c7c7b114e..7ed4868fe 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -118,6 +118,7 @@ protected: // ScintillaBase subclass needs access to much of Editor int anchor; int targetStart; int targetEnd; + int searchFlags; int topLine; int posTopLine; @@ -285,6 +286,7 @@ protected: // ScintillaBase subclass needs access to much of Editor long FindText(unsigned int iMessage, unsigned long wParam, long lParam); void SearchAnchor(); long SearchText(unsigned int iMessage, unsigned long wParam, long lParam); + long SearchInTarget(const char *text, int length); void GoToLine(int lineNo); char *CopyRange(int start, int end); @@ -320,7 +322,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void Expand(int &line, bool doExpand); void ToggleContraction(int line); void EnsureLineVisible(int lineDoc); - int ReplaceTarget(bool replacePatterns, const char *text); + int ReplaceTarget(bool replacePatterns, const char *text, int length=-1); virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0; |