aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/syntaxhighlighter
Commit message (Collapse)AuthorAgeFilesLines
* richtext formatting of numbered and bullet lists (<ol> and <ul>)Sami Shalayel2024-04-151-1/+6
| | | | | | | | | | | | | | | | | | | Set the text color before drawing bullet points for numbered and bullet point list, instead of using the color of the previous block. It seems all other calls to addUnselectedGlyphs() are preceded by some code to set the current color, so do it also for the bullet points. Extend the manual test for syntaxhighlighter to add the reproducer. Fixes: QTBUG-111337 Fixes: QTBUG-123855 Fixes: QTBUG-63741 Task-number: QTBUG-57833 Task-number: QTBUG-26612 Task-number: QTBUG-73859 Change-Id: I51a75152416e07c7f84f99b49e2a4b6ca72e78e9 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Correct license for test filesLucie Gérard2024-02-274-4/+4
| | | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-114-196/+8
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add support for QTextCharFormat::underlineColor in highlighers and CSSShawn Rutledge2021-05-076-0/+394
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>