From 43780cbc9f84872e21ff9785d1ad5b246fae2bdb Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 14 Oct 2005 00:37:28 +0000 Subject: Added to SCI_GETCURLINE. --- doc/ScintillaDoc.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b8e602569..7435fccfd 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1109,8 +1109,10 @@ struct TextToFind {

SCI_GETCURLINE(int textLen, char *text)
This retrieves the text of the line containing the caret and returns the position within the line of the caret. Pass in char* text pointing at a buffer large enough to hold - the text you wish to retrieve and a terminating 0 character. Set textLen to the - length of the buffer. If the text argument is 0 then the length that should be allocated + the text you wish to retrieve and a terminating 0 character. + Set textLen to the + length of the buffer which must be at least 1 to hold the terminating 0 character. + If the text argument is 0 then the length that should be allocated to store the entire current line is returned.

See also: SCI_GETSELTEXT,