aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-09-26 14:07:33 +1000
committerNeil <nyamatongwe@gmail.com>2013-09-26 14:07:33 +1000
commit4211b1982d752b37abf8c4549d46399b330faa59 (patch)
tree716f921714df536b93bc26276d3df1068fd4ccc5 /doc/ScintillaDoc.html
parent43e38721968da1f52d159c555648fc7578b62c4b (diff)
downloadscintilla-mirror-4211b1982d752b37abf8c4549d46399b330faa59.tar.gz
Enhance stability by defining GetLineEndPosition for lines beyond end of document
to return document size.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html6
1 files changed, 3 insertions, 3 deletions
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 {
<p><b id="SCI_GETLINEENDPOSITION">SCI_GETLINEENDPOSITION(int line)</b><br />
This returns the position at the end of the line, before any line end characters. If <code>line</code>
- 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 <code>line</code> is negative or <code>line</code> &gt;= <a class="message"
- href="#SCI_GETLINECOUNT"><code>SCI_GETLINECOUNT()</code></a>, the result is undefined.</p>
+ 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 <code>line</code> is negative the result is undefined.</p>
<p><b id="SCI_LINELENGTH">SCI_LINELENGTH(int line)</b><br />
This returns the length of the line, including any line end characters. If <code>line</code>