From ca6e6726ea248cc86dad9a3eddf649abe98add60 Mon Sep 17 00:00:00 2001
From: Neil
Indicators may have a different "hover" colour and style when the mouse is over them or the caret is moved into them. + This may be used, for example, to indicate that a URL can be clicked.
Indicators may be displayed as simple underlines, squiggly underlines, a - line of small 'T' shapes, a line of diagonal hatching, a strike-out or a rectangle around the text. + line of small 'T' shapes, a line of diagonal hatching, a strike-out or a rectangle around the text. + They may also be invisible when used to track pieces of content for the application asINDIC_HIDDEN.
The SCI_INDIC* messages allow you to get and set the visual appearance of the
indicators. They all use an indicatorNumber argument in the range 0 to INDIC_MAX(35)
@@ -3910,6 +3914,11 @@ struct Sci_TextToFind {
(8=INDIC_CONTAINER .. 31=INDIC_IME-1)
and a range for IME indicators (32=INDIC_IME .. 35=INDIC_IME_MAX).
Indicators are stored in a format similar to run length encoding which is efficient in both + speed and storage for sparse information.
+An indicator may store different values for each range but currently all values are drawn the same. + In the future, it may be possible to draw different values in different styles.
+Originally, Scintilla used a different technique for indicators but this
has been removed
and the APIs perform no action.
@@ -3928,6 +3937,13 @@ struct Sci_TextToFind {
+
+
+
+
+
@@ -4150,10 +4166,18 @@ struct Sci_TextToFind {
Drawing under text works only for indicators when
is enabled.
Indicators are stored in a format similar to run length encoding which is efficient in both - speed and storage for sparse information.
-An indicator may store different values for each range but currently all values are drawn the same. - In the future, it may be possible to draw different values in different styles.
+SCI_INDICSETHOVERSTYLE(int indicatorNumber, int
+ indicatorStyle)
+ SCI_INDICGETHOVERSTYLE(int indicatorNumber)
+ SCI_INDICSETHOVERFORE(int indicatorNumber, int colour)
+ SCI_INDICGETHOVERFORE(int indicatorNumber)
+ These messages set and get the colour and style used to draw indicators when the mouse is over them or the caret moved into them.
+ The mouse cursor also changes when an indicator is drawn in hover style.
+ The default is for the hover appearance to be the same as the normal appearance and calling
+ or
+ will
+ also reset the hover attribute.
SCI_SETINDICATORCURRENT(int indicator)
SCI_GETINDICATORCURRENT
--
cgit v1.2.3