From 6d53881b6c21e7824ba3c83ac175bb233f8ff2a8 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 22 Jul 2022 20:32:53 +1000 Subject: Move EditView::hideSelection to (inverted) SelectionAppearance::visible so that it can differ between screen and print. Add GetSelectionHidden to allow testing of HideSelection. --- doc/ScintillaDoc.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b1d2b5e09..503984654 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -129,7 +129,7 @@

Scintilla Documentation

-

Last edited 15 May 2022 NH

+

Last edited 18 July 2022 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -1382,6 +1382,7 @@ struct Sci_TextToFindFull { SCI_POINTXFROMPOSITION(<unused>, position pos) → int
SCI_POINTYFROMPOSITION(<unused>, position pos) → int
SCI_HIDESELECTION(bool hide)
+ SCI_GETSELECTIONHIDDEN → bool
SCI_GETSELTEXT(<unused>, char *text) → position
SCI_GETCURLINE(position length, char *text) → position
SCI_SELECTIONISRECTANGLE → bool
@@ -1651,10 +1652,11 @@ struct Sci_TextToFindFull { in the document.

SCI_HIDESELECTION(bool hide)
+ SCI_GETSELECTIONHIDDEN → bool
The normal state is to make the selection visible by drawing it as set by SCI_SETSELFORE and SCI_SETSELBACK. However, if you hide the selection, it - is drawn as normal text.

+ href="#SCI_SETSELFORE">SCI_SETSELFORE, SCI_SETSELBACK, and related calls. + However, if you hide the selection, it is drawn as normal text.

SCI_CHOOSECARETX
Scintilla remembers the x value of the last position horizontally moved to explicitly by the -- cgit v1.2.3