aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2015-02-22 09:56:46 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2015-02-22 09:56:46 +1100
commit5bd5e8733e8e3ceb5e2f545adfd6e1b514b33a5c (patch)
treee3c8bd074b021a94d3d4df39796f2d86a3e1af6a /include
parent22aaa509e9f0c07c1d4123b9520d601042432f3e (diff)
downloadscintilla-mirror-5bd5e8733e8e3ceb5e2f545adfd6e1b514b33a5c.tar.gz
Added SCI_SETTARGETRANGE method to set both the start and end of the target.
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 199986c25..018a6d8bd 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -432,6 +432,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETTARGETSTART 2191
#define SCI_SETTARGETEND 2192
#define SCI_GETTARGETEND 2193
+#define SCI_SETTARGETRANGE 2686
#define SCI_REPLACETARGET 2194
#define SCI_REPLACETARGETRE 2195
#define SCI_SEARCHINTARGET 2197
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index c540639da..7373384c8 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1059,6 +1059,9 @@ set void SetTargetEnd=2192(position pos,)
# Get the position that ends the target.
get position GetTargetEnd=2193(,)
+# Sets both the start and end of the target in one call.
+fun void SetTargetRange=2686(position start, position end)
+
# Replace the target text with the argument text.
# Text is counted so it can contain NULs.
# Returns the length of the replacement text.