aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-05-20 13:56:50 +0000
committernyamatongwe <devnull@localhost>2001-05-20 13:56:50 +0000
commit46710d0638b0d214c0342907237095851eb82cd3 (patch)
tree86009c901f28f6cd791a4352e5dd66e89f5b4dfc
parented20ee5c2a407179bbc2100717c15521e8e9fa6e (diff)
downloadscintilla-mirror-46710d0638b0d214c0342907237095851eb82cd3.tar.gz
Removed uncounted version of ReplaceTarget to allow for
nulls in replace strings.
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface17
2 files changed, 8 insertions, 12 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 27df91183..b22482cb7 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -284,8 +284,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETTARGETEND 2192
#define SCI_GETTARGETEND 2193
#define SCI_REPLACETARGET 2194
-#define SCI_REPLACETARGETCOUNTED 2195
-#define SCI_REPLACETARGETRECOUNTED 2196
+#define SCI_REPLACETARGETRE 2195
#define SCI_SEARCHINTARGET 2197
#define SCI_SETSEARCHFLAGS 2198
#define SCI_GETSEARCHFLAGS 2199
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index a854203f4..884f7332b 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -729,20 +729,17 @@ set void SetTargetEnd=2192(position pos,)
get position GetTargetEnd=2193(,)
# Replace the target text with the argument 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=2194(bool replacePatterns, string text)
-
-# Replace the target text with the argument text.
# Text is counted so it can contain nulls.
-fun int ReplaceTargetCounted=2195(int length, string text)
+# Returns the length of the replacement text.
+fun int ReplaceTarget=2194(int length, string text)
# Replace the target text with the argument text after \d processing.
# Text is counted so it can contain nulls.
-fun int ReplaceTargetRECounted=2196(int length, string text)
+# 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 ReplaceTargetRE=2195(int length, string text)
# Search for a counted string in the target and set the target to the found
# range. Text is counted so it can contain nulls.