From d38429108f2035d9fab0919271f6715cd1b7eda6 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 31 Jul 2022 22:21:57 +1000 Subject: Add SC_MARK_BAR marker and INDIC_POINT_TOP indicator which are useful for change history. Tweak size of INDIC_POINT and INDIC_POINTCHARACTER. Let translucency of INDIC_COMPOSITIONTHICK be adjusted. --- doc/ScintillaDoc.html | 17 ++++++++++++++--- doc/ScintillaHistory.html | 10 ++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 3149b06a0..d4c38902b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -5203,8 +5203,9 @@ struct Sci_TextToFindFull { SC_MARK_LEFTRECT, SC_MARK_FULLRECT, SC_MARK_BOOKMARK, - SC_MARK_VERTICALBOOKMARK, and - SC_MARK_UNDERLINE. + SC_MARK_VERTICALBOOKMARK, + SC_MARK_UNDERLINE, and + SC_MARK_BAR.

The SC_MARK_BACKGROUND marker changes the background colour of the line only. @@ -5770,7 +5771,9 @@ struct Sci_TextToFindFull { A 2-pixel thick underline located at the bottom of the line to try to avoid touching the character base. Each side is inset 1 pixel so that different indicators in this style covering a range appear isolated. - This is similar to an appearance used for the target in Asian language input composition. + This is similar to an appearance used for the target in Asian language input composition. + The translucency of this indicator can be changed with + SCI_INDICSETOUTLINEALPHA. @@ -5807,6 +5810,14 @@ struct Sci_TextToFindFull { Draw a triangle below the centre of the first character of the indicator range. + + INDIC_POINT_TOP + + 22 + + Draw a triangle above the start of the indicator range.. + + diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 11c19f1e3..7895d131a 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -586,6 +586,16 @@ in the margin or in the text.

  • + Add SC_MARK_BAR marker and INDIC_POINT_TOP indicator. + SC_MARK_BAR is an outlined and filled rectangle that takes the full height of the line and 1/3 + of the margin width. + To give a connected appearence, it displays even on wrapped lines and draws end caps on the first and last line. + INDIC_POINT_TOP is the same as INDIC_POINT but draws at the top of the line instead of the bottom. + INDIC_POINT and INDIC_POINTCHARACTER were tweaked to be 1 pixel taller and 2 pixels wider in + two-phase draw mode to be clearer. + The translucency of INDIC_COMPOSITIONTHICK can be changed with SCI_INDICSETOUTLINEALPHA. +
  • +
  • Line state optimized to avoid excess allocations by always allocating for every line. This makes SCI_GETMAXLINESTATE less useful although it can still distinguish cases where line state was never set for any lines. -- cgit v1.2.3