From d6136af6d39ae06b4b0b51bd4576338015722591 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 14 May 2021 14:02:39 +1000 Subject: Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. --- doc/ScintillaDoc.html | 31 ++++++++++++++++++++++++++----- doc/ScintillaHistory.html | 4 ++++ 2 files changed, 30 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 380a8e81d..789e06c84 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3457,6 +3457,22 @@ struct Sci_TextToFind { Colour of visible white space background + + SC_ELEMENT_HOT_SPOT_ACTIVE + 70 + Translucent + All + + Text colour of active hot spot + + + SC_ELEMENT_HOT_SPOT_ACTIVE_BACK + 71 + Opaque + All + + Background colour of active hot spot + @@ -3527,10 +3543,12 @@ struct Sci_TextToFind { SCI_GETCARETSTICKY → int
SCI_TOGGLECARETSTICKY

- SCI_SETHOTSPOTACTIVEFORE(bool useSetting, colour fore)
- SCI_GETHOTSPOTACTIVEFORE → colour
- SCI_SETHOTSPOTACTIVEBACK(bool useSetting, colour back)
- SCI_GETHOTSPOTACTIVEBACK → colour
+ SC_ELEMENT_HOT_SPOT_ACTIVE : colouralpha
+ SCI_SETHOTSPOTACTIVEFORE(bool useSetting, colour fore)
+ SCI_GETHOTSPOTACTIVEFORE → colour
+ SC_ELEMENT_HOT_SPOT_ACTIVE_BACK : colouralpha
+ SCI_SETHOTSPOTACTIVEBACK(bool useSetting, colour back)
+ SCI_GETHOTSPOTACTIVEBACK → colour
SCI_SETHOTSPOTACTIVEUNDERLINE(bool underline)
SCI_GETHOTSPOTACTIVEUNDERLINE → bool
SCI_SETHOTSPOTSINGLELINE(bool singleLine)
@@ -3767,8 +3785,11 @@ struct Sci_TextToFind {

SCI_TOGGLECARETSTICKY switches from SC_CARETSTICKY_ON and SC_CARETSTICKY_WHITESPACE to SC_CARETSTICKY_OFF and from SC_CARETSTICKY_OFF to SC_CARETSTICKY_ON.

-

SCI_SETHOTSPOTACTIVEFORE(bool useSetting, colour fore)
+

+ SC_ELEMENT_HOT_SPOT_ACTIVE : colouralpha
+ SCI_SETHOTSPOTACTIVEFORE(bool useSetting, colour fore)
SCI_GETHOTSPOTACTIVEFORE → colour
+ SC_ELEMENT_HOT_SPOT_ACTIVE_BACK : colouralpha
SCI_SETHOTSPOTACTIVEBACK(bool useSetting, colour back)
SCI_GETHOTSPOTACTIVEBACK → colour
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index c0123dd4a..6d64439c7 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -603,6 +603,10 @@ Add SC_ELEMENT_WHITE_SPACE to set the colour of visible whitespace including translucency.

  • + Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and + SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. +
  • +
  • Make idle actions wrapping and background styling smoother by measuring per-byte instead of per-line and allowing just one line to be processed in a time slice. -- cgit v1.2.3