aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-01-06 15:47:13 +1100
committerNeil <nyamatongwe@gmail.com>2016-01-06 15:47:13 +1100
commit1042e27ed099c82a7277d65d0dc6686c8b68064b (patch)
treeb5c4cb4e261ed29af684ad18d778562987fc8b11
parentaf33a5f8053adeddf868910b981e48acc35625a7 (diff)
downloadscintilla-mirror-1042e27ed099c82a7277d65d0dc6686c8b68064b.tar.gz
Clarify out of bounds behaviour.
-rw-r--r--doc/ScintillaDoc.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 5a5a3a532..28fd9ca2e 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1501,6 +1501,7 @@ struct Sci_TextToFind {
<p><b id="SCI_POSITIONRELATIVE">SCI_POSITIONRELATIVE(int position, int relative)</b><br />
Count a number of whole characters before or after the argument position and return that position.
The minimum position returned is 0 and the maximum is the last position in the document.
+ If the position goes past the document end then 0 is returned.
</p>
<p><b id="SCI_COUNTCHARACTERS">SCI_COUNTCHARACTERS(int startPos, int endPos)</b><br />