aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-07-15 03:10:28 +0000
committernyamatongwe <unknown>2009-07-15 03:10:28 +0000
commit7ef9b27e87eb98ae11811bab4e78550b27941aaf (patch)
tree0f4fb8a7857fdf2716b4e19bc34de02ac02b6c48
parentf6046faf0e8564416401edcae07c8110bf0a6ec1 (diff)
downloadscintilla-mirror-7ef9b27e87eb98ae11811bab4e78550b27941aaf.tar.gz
More about multiple selection.
-rw-r--r--doc/ScintillaDoc.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index b69cc09a7..a4da602d2 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -38,7 +38,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 29/June/2009 NH</p>
+ <p>Last edited 15/July/2009 NH</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -1463,6 +1463,8 @@ struct TextToFind {
More selections are made by holding down the Ctrl key while dragging with the mouse.
The most recent selection is the main selection and determines which part of the document is shown automatically.
Any selection apart from the main selection is called an additional selection.
+ The calls in the previous section operate on the main selection.
+ There is always at least one selection.
</p>
<p>
@@ -1518,7 +1520,9 @@ struct TextToFind {
<p>
<b id="SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor)</b><br />
Add a new selection from <code>anchor</code> to <code>caret</code> as the main selection retaining all other
- selections as additional selections.</p>
+ selections as additional selections.
+ Since there is always at least one selection, to set a list of selections, the first selection should be
+ added with <code>SCI_SETSELECTION</code> and later selections added with <code>SCI_ADDSELECTION</code></p>
<p>
<b id="SCI_SETMAINSELECTION">SCI_SETMAINSELECTION(int selection)</b><br />