diff options
| author | nyamatongwe <devnull@localhost> | 2001-04-05 01:58:04 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2001-04-05 01:58:04 +0000 |
| commit | 529ea750b146c23bd1f8c0ec0b3bbeb64689a736 (patch) | |
| tree | 7141531f889b0ffe3a3b262faa9ef8924fa17018 /src/RESearch.h | |
| parent | a9318190f7318a86b272f23132126a45c8111dce (diff) | |
| download | scintilla-mirror-529ea750b146c23bd1f8c0ec0b3bbeb64689a736.tar.gz | |
Replace target functionality to make find and replace operations faster
by diminishing screen updates and allow for \d patterns in the replacement
text.
Diffstat (limited to 'src/RESearch.h')
| -rw-r--r-- | src/RESearch.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index f9cf7fdc5..62a78f48e 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -26,6 +26,10 @@ class RESearch { public: RESearch(); + ~RESearch(); + void Init(); + void Clear(); + bool GrabMatches(CharacterIndexer &ci); void ChSet(char c); const char *Compile(char *pat); int Execute(CharacterIndexer &ci, int lp); @@ -33,11 +37,12 @@ public: int Substitute(CharacterIndexer &ci, char *src, char *dst); enum {MAXTAG=10}; - enum {MAXNFA=1024}; + enum {MAXNFA=2048}; enum {NOTFOUND=-1}; int bopat[MAXTAG]; int eopat[MAXTAG]; + char *pat[MAXTAG]; private: int PMatch(CharacterIndexer &ci, int lp, char *ap); |
