Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.0
-
None
Description
Hello,
In QSyntaxHighlighter::highlightBlock(), QSyntaxHighlighter : setUnderlineStyle and QSyntaxHighlighter : setUnderlineColor don't work as intended.
Similar to https://bugreports.qt.io/browse/QTBUG-87260, which actually never solved the underlines in QtQuickControls2's TextArea.
See the screenshot:
- QTextCharFormat::DashUnderline doesn't show.
- QTextCharFormat::WaveUnderline doesn't show.
- Red QTextCharFormat::SingleUnderline shows only in black.
You can test it with the attached test project. highlighter.cpp highlights the problem, pun intended.
Attachments
Issue Links
- duplicates
-
QTBUG-97495 add support for underline style in Text
- Reported
-
QTBUG-46540 Add support for the different underline styles in Qt Quick
- Open
- relates to
-
QTBUG-87260 TextArea with QSyntaxHighlighter : setUnderlineColor and setUnderlineStyle not working
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125575 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
276021,2 | Another implementation of WaveUnderline support | 5.13 | qt/qtdeclarative | Status: NEW | 0 | 0 |