From e3fb3e4d970c691eb696bdaeabb64e0e84d2d930 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 23 Feb 2015 08:20:32 +1100 Subject: Add SCI_GETTARGETTEXT as a simpler alternate to SCI_GETTEXTRANGE. --- doc/ScintillaDoc.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 1697af2ee..0a913506b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -82,7 +82,7 @@

Scintilla Documentation

-

Last edited 13 February 2015 NH

+

Last edited 22 February 2015 NH

There is an overview of the internal design of Scintilla.
@@ -643,6 +643,8 @@ struct Sci_TextRange { SCI_GETSEARCHFLAGS
SCI_SEARCHINTARGET(int length, const char *text)
+ SCI_GETTARGETTEXT(<unused>, + char *text)
SCI_REPLACETARGET(int length, const char *text)
SCI_REPLACETARGETRE(int length, const char @@ -677,6 +679,9 @@ struct Sci_TextRange { text and the return value is the position of the start of the matching text. If the search fails, the result is -1.

+

SCI_GETTARGETTEXT(<unused>, char *text)
+ Retrieve the value in the target.

+

SCI_REPLACETARGET(int length, const char *text)
If length is -1, text is a zero terminated string, otherwise length sets the number of character to replace the target with. -- cgit v1.2.3