diff options
author | Neil <nyamatongwe@gmail.com> | 2015-02-23 08:20:32 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-02-23 08:20:32 +1100 |
commit | ee3a66f0ebaea12c3fd4000a1acffdcc2b93176f (patch) | |
tree | 428a4dc64ccba8be1227fb46877fa6e772402083 /include | |
parent | 2424ec8a5c54ea9443b1c04f7b8a7bf530bccc5e (diff) | |
download | scintilla-mirror-ee3a66f0ebaea12c3fd4000a1acffdcc2b93176f.tar.gz |
Add SCI_GETTARGETTEXT as a simpler alternate to SCI_GETTEXTRANGE.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
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. |