From dba2fe55b8a4ab4ac34795fe4a4b30a729c77016 Mon Sep 17 00:00:00 2001 From: A-R-C-A Date: Thu, 6 Apr 2017 20:19:23 +1000 Subject: Added a caret line frame as an alternative visual for highlighting the caret line. --- doc/ScintillaDoc.html | 6 ++++++ doc/ScintillaHistory.html | 3 +++ 2 files changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a91a421a1..5c415f9bb 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3069,6 +3069,8 @@ struct Sci_TextToFind { SCI_GETCARETLINEBACK → colour
SCI_SETCARETLINEBACKALPHA(alpha alpha)
SCI_GETCARETLINEBACKALPHA → int
+ SCI_SETCARETLINEFRAME(int width)
+ SCI_GETCARETLINEFRAME → int
SCI_SETCARETLINEVISIBLEALWAYS(bool alwaysVisible)
SCI_GETCARETLINEVISIBLEALWAYS → bool
SCI_SETCARETPERIOD(int periodMilliseconds)
@@ -3117,6 +3119,8 @@ struct Sci_TextToFind { SCI_GETCARETLINEBACK → colour
SCI_SETCARETLINEBACKALPHA(alpha alpha)
SCI_GETCARETLINEBACKALPHA → int
+ SCI_SETCARETLINEFRAME(int width)
+ SCI_GETCARETLINEFRAME → int
You can choose to make the background colour of the line containing the caret different with these messages. To do this, set the desired background colour with SCI_SETCARETLINEBACK, then use SCI_SETCARETLINEVISIBLE(true) to @@ -3128,6 +3132,8 @@ struct Sci_TextToFind { through. This is done by setting the alpha (translucency) value by calling SCI_SETCARETLINEBACKALPHA. When the alpha is not SC_ALPHA_NOALPHA, the caret line is drawn after all other features so will affect the colour of all other features. + Alternatively SCI_SETCARETLINEFRAME can be used to display the caret line framed + instead of filling the whole background. Set width != 0 to enable this option and width = 0 to disable it.

SCI_SETCARETLINEVISIBLEALWAYS(bool alwaysVisible)
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 64e8ac995..e5b029227 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -527,6 +527,9 @@ Released 21 March 2017.

  • + Added a caret line frame as an alternative visual for highlighting the caret line. +
  • +
  • Added "Reverse Selected Lines" feature.
  • -- cgit v1.2.3