diff options
author | Neil <nyamatongwe@gmail.com> | 2017-01-14 09:03:22 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-01-14 09:03:22 +1100 |
commit | 30c4bcf29312cc170067941be9589b60155719b7 (patch) | |
tree | a9da010aa9d79ea89f69bf7f51e9396e0d1b56f9 | |
parent | 75de132ed9cd2b59d33e0a721bac285db2528949 (diff) | |
download | scintilla-mirror-30c4bcf29312cc170067941be9589b60155719b7.tar.gz |
Removed return type from AddSelection and SetSelection.
-rw-r--r-- | doc/ScintillaDoc.html | 8 | ||||
-rw-r--r-- | include/Scintilla.iface | 4 |
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 → int</a><br /> <a class="message" href="#SCI_GETSELECTIONEMPTY">SCI_GETSELECTIONEMPTY → 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) → int</a><br /> - <a class="message" href="#SCI_ADDSELECTION">SCI_ADDSELECTION(int caret, int anchor) → 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 → 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) → 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) → 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,) |