Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125575

Underline (Spellchecking) in QSyntaxHighlighter not showing in TextArea

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.0
    • None
    • Linux/Wayland, Linux/X11, Windows

    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

          For Gerrit Dashboard: QTBUG-125575
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              skrib Cyril Jacquet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change