aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-05-29 09:31:39 +1000
committerNeil <nyamatongwe@gmail.com>2015-05-29 09:31:39 +1000
commita5679f2347b8d9270f3bdff722c386e07d773703 (patch)
tree1a1c07788231f57453f4eadabdc1a5bf333b86ba
parent4bd582a1f7ee61746255c313bb9cff3a8aa40d4d (diff)
downloadscintilla-mirror-a5679f2347b8d9270f3bdff722c386e07d773703.tar.gz
Document indexing of selection.
-rw-r--r--doc/ScintillaDoc.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 3a51cfb61..60f932e09 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1687,7 +1687,7 @@ struct Sci_TextToFind {
<p>
<b id="SCI_GETSELECTIONS">SCI_GETSELECTIONS</b><br />
- Return the number of selections currently active.</p>
+ Return the number of selections currently active. There is always at least one selection.</p>
<p>
<b id="SCI_GETSELECTIONEMPTY">SCI_GETSELECTIONEMPTY</b><br />
@@ -1738,7 +1738,7 @@ struct Sci_TextToFind {
<b id="SCI_SETSELECTIONNEND">SCI_SETSELECTIONNEND(int selection, int pos)</b><br />
<b id="SCI_GETSELECTIONNEND">SCI_GETSELECTIONNEND(int selection)</b><br />
Set or query the start and end position of each already existing selection.
- Mostly of use to query each range for its text.</p>
+ Mostly of use to query each range for its text. The selection parameter is zero-based. </p>
<p>
<b id="SCI_SETRECTANGULARSELECTIONCARET">SCI_SETRECTANGULARSELECTIONCARET(int pos)</b><br />