aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-04-05 01:58:04 +0000
committernyamatongwe <devnull@localhost>2001-04-05 01:58:04 +0000
commit529ea750b146c23bd1f8c0ec0b3bbeb64689a736 (patch)
tree7141531f889b0ffe3a3b262faa9ef8924fa17018 /include
parenta9318190f7318a86b272f23132126a45c8111dce (diff)
downloadscintilla-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 'include')
-rw-r--r--include/Scintilla.iface7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8fdbdedcc..dd4a167f1 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -717,7 +717,12 @@ set void SetTargetStart=2190(position pos,)
set void SetTargetEnd=2191(position pos,)
# Replace the target text with the argument text.
-fun void ReplaceTarget=2192(, string text)
+# If replacePatterns then looks for \d where d is between 1 and 9
+# and replaces these with the strings matched in the last search
+# operation which were surrounded by \( and \).
+# Returns the length of the replacement text including any change
+# caused by processing the \d patterns.
+fun int ReplaceTarget=2192(bool replacePatterns, string text)
# Show a call tip containing a definition near position pos.
fun void CallTipShow=2200(position pos, string definition)