From 5bd5e8733e8e3ceb5e2f545adfd6e1b514b33a5c Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sun, 22 Feb 2015 09:56:46 +1100 Subject: Added SCI_SETTARGETRANGE method to set both the start and end of the target. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') 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. -- cgit v1.2.3