aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-02-23 08:20:32 +1100
committerNeil <nyamatongwe@gmail.com>2015-02-23 08:20:32 +1100
commite3fb3e4d970c691eb696bdaeabb64e0e84d2d930 (patch)
treeb50874624ecd09c897ed6a7ea9488e687abf0800 /include
parent2effd05a1f7ea9815cb968eb695462689617407d (diff)
downloadscintilla-mirror-e3fb3e4d970c691eb696bdaeabb64e0e84d2d930.tar.gz
Add SCI_GETTARGETTEXT as a simpler alternate to SCI_GETTEXTRANGE.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 018a6d8bd..e2e3297a5 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -433,6 +433,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETTARGETEND 2192
#define SCI_GETTARGETEND 2193
#define SCI_SETTARGETRANGE 2686
+#define SCI_GETTARGETTEXT 2687
#define SCI_REPLACETARGET 2194
#define SCI_REPLACETARGETRE 2195
#define SCI_SEARCHINTARGET 2197
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 7373384c8..f5fac5480 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1062,6 +1062,9 @@ get position GetTargetEnd=2193(,)
# Sets both the start and end of the target in one call.
fun void SetTargetRange=2686(position start, position end)
+# Retrieve the text in the target.
+get int GetTargetText=2687(, stringresult characters)
+
# Replace the target text with the argument text.
# Text is counted so it can contain NULs.
# Returns the length of the replacement text.