From 04cc53969e0d23cf19365712ca8c6afdbc4f3822 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 5 Nov 2023 14:08:57 +1100 Subject: Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation. --- doc/ScintillaDoc.html | 10 +++++++--- doc/ScintillaHistory.html | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index c0b80e793..43407a40b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -129,7 +129,7 @@

Scintilla Documentation

-

Last edited 1 November 2023 NH

+

Last edited 5 November 2023 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -980,6 +980,7 @@ struct Sci_TextRangeFull { SCI_SELECTIONISRECTANGLE → bool
SCI_SETSELECTIONMODE(int selectionMode)
SCI_GETSELECTIONMODE → int
+ SCI_SETMOVEEXTENDSSELECTION(bool moveExtendsSelection)
SCI_GETMOVEEXTENDSSELECTION → bool
SCI_GETLINESELSTARTPOSITION(line line) → position
SCI_GETLINESELENDPOSITION(line line) → position
@@ -1135,8 +1136,11 @@ struct Sci_TextRangeFull { SC_SEL_THIN is the mode after a rectangular selection has been typed into and ensures that no characters are selected.

-

SCI_GETMOVEEXTENDSSELECTION → bool
- This returns 1 if regular caret moves will extend or reduce the selection, 0 if not. +

+ SCI_SETMOVEEXTENDSSELECTION(bool moveExtendsSelection)
+ SCI_GETMOVEEXTENDSSELECTION → bool
+ This controls whether regular caret moves extends the selection leaving the anchor unchanged. + It is 1 if regular caret moves will extend or reduce the selection, 0 if not. SCI_SETSELECTIONMODE toggles this setting between on and off.

SCI_GETLINESELSTARTPOSITION(line line) → position
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 333121b42..f823ee0ef 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -591,6 +591,9 @@ Released 18 November 2023.

  • + Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation. +
  • +
  • Improve performance of global replace by reducing cache invalidation overhead. Feature #1502.
  • -- cgit v1.2.3