aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-11-22 09:24:07 +1100
committerNeil <nyamatongwe@gmail.com>2022-11-22 09:24:07 +1100
commitcb8cd73d839a96f98bb1ce887c694271f9c24788 (patch)
tree1920fae848da38e7942ea9a36c21f87272254e23 /include/Scintilla.iface
parentb3e46461ce564d295b629a1d16dc4cee60722e66 (diff)
downloadscintilla-mirror-cb8cd73d839a96f98bb1ce887c694271f9c24788.tar.gz
Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and
suffix to be marked as modified in change history.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index e65b5e5d7..9f02c78d2 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1450,6 +1450,10 @@ fun position ReplaceTarget=2194(position length, string text)
# caused by processing the \d patterns.
fun position ReplaceTargetRE=2195(position length, string text)
+# Replace the target text with the argument text but ignore prefix and suffix that
+# are the same as current.
+fun position ReplaceTargetMinimal=2779(position 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 NULs.
# Returns start of found range or -1 for failure in which case target is not moved.