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

TextArea with QSyntaxHighlighter : setUnderlineColor and setUnderlineStyle not working

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes