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

TextArea with QSyntaxHighlighter : setUnderlineColor and setUnderlineStyle not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.12.9, 5.15.0, 5.15.1
    • None
    • Linux/Wayland, Windows

    Description

      Hello,

      While integrating Hunspell with QSyntaxHighlighter, I found out that I can't display the red wave underlining in Qt Quick Controls 2 TextArea using QSyntaxHighlighter::highlightBlock.

      Other formatting, like setting the font in italic works well.

      In parallel, I tested my same highlighter with Qt Widgets. It works well with Qt Widgets.

       

      You will find in attachment a minimal test project.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes