From 82a7704fee6ef86953857a6d46cc18923888704f Mon Sep 17 00:00:00 2001
From: Neil
Date: Thu, 26 Sep 2013 14:07:33 +1000
Subject: Enhance stability by defining GetLineEndPosition for lines beyond end
of document to return document size.
---
doc/ScintillaDoc.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 8c7499ed9..f408dafad 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1306,9 +1306,9 @@ struct Sci_TextToFind {
SCI_GETLINEENDPOSITION(int line)
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.
+ is the last line in the document (which does not have any end of line characters) or greater,
+ the result is the size of the document.
+ If line is negative 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