From 9a722f8cc8066bebfdef5e6fbe617c7019e016fd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 12 Aug 2009 00:08:16 +0000 Subject: Fixed SCI_GETSELTEXT for discontiguous selections. --- doc/ScintillaDoc.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 6a4f30fe6..5a75bd12b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1207,10 +1207,9 @@ struct TextToFind { href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(line).

SCI_GETSELTEXT(<unused>, char *text)
This copies the currently selected text and a terminating 0 byte to the text - buffer. The buffer must be at least - SCI_GETSELECTIONEND()-SCI_GETSELECTIONSTART()+1 bytes long.
- If the text argument is 0 then the length that should be allocated - to store the entire selection is returned.
+ buffer. The buffer size should be determined by calling with a NULL pointer for the text argument + SCI_GETSELTEXT(0,0). + This allows for rectangular and discontiguous selections as well as simple selections.

See also: SCI_GETCURLINE, SCI_GETLINE,