aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaDoc.html8
-rw-r--r--include/Scintilla.iface4
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 05145f4fa..d150408df 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1536,8 +1536,8 @@ struct Sci_TextToFind {
<a class="message" href="#SCI_GETSELECTIONS">SCI_GETSELECTIONS &rarr; int</a><br />
<a class="message" href="#SCI_GETSELECTIONEMPTY">SCI_GETSELECTIONEMPTY &rarr; bool</a><br />
<a class="message" href="#SCI_CLEARSELECTIONS">SCI_CLEARSELECTIONS</a><br />
- <a class="message" href="#SCI_SETSELECTION">SCI_SETSELECTION(int caret, int anchor) &rarr; int</a><br />
- <a class="message" href="#SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor) &rarr; int</a><br />
+ <a class="message" href="#SCI_SETSELECTION">SCI_SETSELECTION(int caret, int anchor)</a><br />
+ <a class="message" href="#SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor)</a><br />
<a class="message" href="#SCI_DROPSELECTIONN">SCI_DROPSELECTIONN(int selection)</a><br />
<a class="message" href="#SCI_SETMAINSELECTION">SCI_SETMAINSELECTION(int selection)</a><br />
<a class="message" href="#SCI_GETMAINSELECTION">SCI_GETMAINSELECTION &rarr; int</a><br />
@@ -1667,11 +1667,11 @@ struct Sci_TextToFind {
Set a single empty selection at 0 as the only selection.</p>
<p>
- <b id="SCI_SETSELECTION">SCI_SETSELECTION(int caret, int anchor) &rarr; int</b><br />
+ <b id="SCI_SETSELECTION">SCI_SETSELECTION(int caret, int anchor)</b><br />
Set a single selection from <code class="parameter">anchor</code> to <code class="parameter">caret</code> as the only selection.</p>
<p>
- <b id="SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor) &rarr; int</b><br />
+ <b id="SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor)</b><br />
Add a new selection from <code class="parameter">anchor</code> to <code class="parameter">caret</code> as the main selection retaining all other
selections as additional selections.
Since there is always at least one selection, to set a list of selections, the first selection should be
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 6b9a77f66..34a61321b 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2354,10 +2354,10 @@ get bool GetSelectionEmpty=2650(,)
fun void ClearSelections=2571(,)
# Set a simple selection
-fun int SetSelection=2572(position caret, position anchor)
+fun void SetSelection=2572(position caret, position anchor)
# Add a selection
-fun int AddSelection=2573(position caret, position anchor)
+fun void AddSelection=2573(position caret, position anchor)
# Drop one selection
fun void DropSelectionN=2671(int selection,)