diff options
| author | nyamatongwe <devnull@localhost> | 2001-04-29 13:32:10 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2001-04-29 13:32:10 +0000 |
| commit | 09d42ffa21ce48f7ccd80c71674445bffe15cef1 (patch) | |
| tree | e5e81d31814afcd65759d81fd0ec7e375ca7603d /src/Editor.h | |
| parent | 33ce86f2a9e5389f7dd9922eb387936b61364259 (diff) | |
| download | scintilla-mirror-09d42ffa21ce48f7ccd80c71674445bffe15cef1.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; |
