aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrdaneelolivaw <devnull@localhost>2005-07-27 22:22:25 +0000
committerrdaneelolivaw <devnull@localhost>2005-07-27 22:22:25 +0000
commitef4dc8f8e0555dba7615c8a417a824209b94949c (patch)
tree1131b8c87bd1d00ffa4e225a3543dec21f0324e8
parent715459b974793432d103e8be4acfdc0800d3d708 (diff)
downloadscintilla-mirror-ef4dc8f8e0555dba7615c8a417a824209b94949c.tar.gz
RBR - update description of SCI_GETLINEENDPOSITION to match reality.
-rw-r--r--doc/ScintillaDoc.html12
1 files changed, 5 insertions, 7 deletions
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 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 15/July/2005 RBR</p>
+ <p>Last edited 27/July/2005 RBR</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -1080,12 +1080,10 @@ struct TextToFind {
last line), the return value is the end of the document.</p>
<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 negative, the result is 0. 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, the result is -1. If <code>line</code> is &gt;=
- <code>SCI_GETLINECOUNT()</code>, the result is currently <code>SCI_GETLENGTH()-1</code>...
- (undefined?).</p>
+ 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>
<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>