qtdeclarative/tests/manual/syntaxhighlighter
Shawn Rutledge 1d44ddf576 Add support for QTextCharFormat::underlineColor in highlighers and CSS
When a QSyntaxHighlighter calls setUnderlineColor(), TextEdit will use
that color for underline, overline and strikeout rendering.  Likewise
when Text has textFormat: Text.RichText and the HTML contains CSS styling
specifying text-decoration-color, it will be applied (depending on the
css support in QTextHtmlParser to call setUnderlineColor()).

Added a manual test.

[ChangeLog][QtQuick][TextEdit] When a QSyntaxHighlighter calls
QTextFormat::setUnderlineColor(), or CSS style contains
text-decoration-color, Text and TextEdit will now use that color for
underline, overline and strikeout rendering.

Task-number: QTBUG-87260
Task-number: QTBUG-74572
Task-number: QTBUG-39617
Change-Id: Ia2b564d5366ff67bb5df4f6c9e68ff5773ca5d6a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-05-07 19:58:09 +02:00
..
app.qml Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00
documenthighlighter.cpp Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00
documenthighlighter.h Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00
main.cpp Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00
syntaxhighlighter.pro Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00
syntaxhighlighter.qrc Add support for QTextCharFormat::underlineColor in highlighers and CSS 2021-05-07 19:58:09 +02:00