From ef4dc8f8e0555dba7615c8a417a824209b94949c Mon Sep 17 00:00:00 2001 From: rdaneelolivaw Date: Wed, 27 Jul 2005 22:22:25 +0000 Subject: RBR - update description of SCI_GETLINEENDPOSITION to match reality. --- doc/ScintillaDoc.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 452a94106..981bdb70a 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -38,7 +38,7 @@

Scintilla Documentation

-

Last edited 15/July/2005 RBR

+

Last edited 27/July/2005 RBR

There is an overview of the internal design of Scintilla.
@@ -1080,12 +1080,10 @@ struct TextToFind { last line), the return value is the end of the document.

SCI_GETLINEENDPOSITION(int line)
- This returns the position at the end of the line, before any line end characters. If - line is negative, the result is 0. If line is the last line in the - document, (which does not have any end of line characters), the result is the size of the - document. If line is negative, the result is -1. If line is >= - SCI_GETLINECOUNT(), the result is currently SCI_GETLENGTH()-1... - (undefined?).

+ This returns the position at the end of the line, before any line end characters. If line + is the last line in the document (which does not have any end of line characters), the result is the size of the + document. If line is negative or line >= SCI_GETLINECOUNT(), the result is undefined.

SCI_LINELENGTH(int line)
This returns the length of the line, including any line end characters. If line -- cgit v1.2.3