From 30c4bcf29312cc170067941be9589b60155719b7 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 14 Jan 2017 09:03:22 +1100 Subject: Removed return type from AddSelection and SetSelection. --- doc/ScintillaDoc.html | 8 ++++---- 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 { SCI_GETSELECTIONS → int
SCI_GETSELECTIONEMPTY → bool
SCI_CLEARSELECTIONS
- SCI_SETSELECTION(int caret, int anchor) → int
- SCI_ADDSELECTION(int caret, int anchor) → int
+ SCI_SETSELECTION(int caret, int anchor)
+ SCI_ADDSELECTION(int caret, int anchor)
SCI_DROPSELECTIONN(int selection)
SCI_SETMAINSELECTION(int selection)
SCI_GETMAINSELECTION → int
@@ -1667,11 +1667,11 @@ struct Sci_TextToFind { Set a single empty selection at 0 as the only selection.

- SCI_SETSELECTION(int caret, int anchor) → int
+ SCI_SETSELECTION(int caret, int anchor)
Set a single selection from anchor to caret as the only selection.

- SCI_ADDSELECTION(int caret, int anchor) → int
+ SCI_ADDSELECTION(int caret, int anchor)
Add a new selection from anchor to caret 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,) -- cgit v1.2.3