From 07510a6ffd4f5b286c0d39711ddd9a651c4a84e2 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 17 Dec 2013 14:16:29 +1100 Subject: Added DropSelectionN API. --- doc/ScintillaDoc.html | 7 +++++++ doc/ScintillaHistory.html | 3 +++ 2 files changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 43ec2d526..3be837849 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1565,6 +1565,7 @@ struct Sci_TextToFind { SCI_CLEARSELECTIONS
SCI_SETSELECTION(int caret, int anchor)
SCI_ADDSELECTION(int caret, int anchor)
+ SCI_DROPSELECTIONN(int selection)
SCI_SETMAINSELECTION(int selection)
SCI_GETMAINSELECTION

@@ -1691,6 +1692,12 @@ struct Sci_TextToFind { Since there is always at least one selection, to set a list of selections, the first selection should be added with SCI_SETSELECTION and later selections added with SCI_ADDSELECTION

+

+ SCI_DROPSELECTIONN(int selection)
+ If there are multiple selections, remove the indicated selection. + If this was the main selection then make the previous selection the main and if it was the first then the last selection becomes main. + If there is only one selection, or there is no selection selection, then there is no effect.

+

SCI_SETMAINSELECTION(int selection)
SCI_GETMAINSELECTION
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 7b377d640..9418f6605 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -458,6 +458,9 @@ Released 12 December 2013.

  • + Added DropSelectionN API to drop a selection from a multiple selection. +
  • +
  • C++ lexer fixes bug where keyword followed immediately by quoted string continued keyword style. Bug #1564. -- cgit v1.2.3