diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 5 | ||||
-rw-r--r-- | include/Scintilla.iface | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index b1de42cee..a19d2a1b5 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -284,6 +284,11 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETTARGETEND 2192 #define SCI_GETTARGETEND 2193 #define SCI_REPLACETARGET 2194 +#define SCI_REPLACETARGETCOUNTED 2195 +#define SCI_REPLACETARGETRECOUNTED 2196 +#define SCI_SEARCHINTARGET 2197 +#define SCI_SETSEARCHFLAGS 2198 +#define SCI_GETSEARCHFLAGS 2199 #define SCI_CALLTIPSHOW 2200 #define SCI_CALLTIPCANCEL 2201 #define SCI_CALLTIPACTIVE 2202 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 6764edfe2..4aaea15d4 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -736,6 +736,25 @@ get position GetTargetEnd=2193(,) # caused by processing the \d patterns. fun int ReplaceTarget=2194(bool replacePatterns, string text) +# Replace the target text with the argument text. +# Text is counted so it can contain nulls. +fun int ReplaceTargetCounted=2195(int length, string text) + +# Replace the target text with the argument text after \d processing. +# Text is counted so it can contain nulls. +fun int ReplaceTargetRECounted=2196(int 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 nulls. +# Returns length of range or -1 for failure in which case target is not moved. +fun int SearchInTarget=2197(int length, string text) + +# Set the search flags used by SearchInTarget +set void SetSearchFlags=2198(int flags,) + +# Get the search flags used by SearchInTarget +get int GetSearchFlags=2199(,) + # Show a call tip containing a definition near position pos. fun void CallTipShow=2200(position pos, string definition) |