aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-04-05 01:58:04 +0000
committernyamatongwe <unknown>2001-04-05 01:58:04 +0000
commit508b1b5ca03dffc1ec2d5a98a378da4cdd30ef84 (patch)
tree7141531f889b0ffe3a3b262faa9ef8924fa17018 /src/Document.h
parent9b04df8e99b54645a92580712a6551b39ac511f5 (diff)
downloadscintilla-mirror-508b1b5ca03dffc1ec2d5a98a378da4cdd30ef84.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/Document.h')
-rw-r--r--src/Document.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index b52036513..bfc1a6e57 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -60,6 +60,7 @@ public:
class DocWatcher;
class DocModification;
+class RESearch;
/**
*/
@@ -89,7 +90,11 @@ private:
WatcherWithUserData *watchers;
int lenWatchers;
-
+
+ bool matchesValid;
+ RESearch *pre;
+ char *substituted;
+
public:
int stylingBits;
int stylingBitsMask;
@@ -175,6 +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);
int LinesTotal();
void ChangeCase(Range r, bool makeUpperCase);