From ef4dc8f8e0555dba7615c8a417a824209b94949c Mon Sep 17 00:00:00 2001
From: rdaneelolivaw Last edited 15/July/2005 RBR Last edited 27/July/2005 RBR There is an overview of the internal design of
Scintilla. SCI_GETLINEENDPOSITION(int line)Scintilla Documentation
-
@@ -1080,12 +1080,10 @@ struct TextToFind {
last line), the return value is the end of the document.
- 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?).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
>= , 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