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

QSyntaxtHighlighter::rehighlight() does not update TextEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.10
    • GUI: Text handling
    • None

    Description

      After calling QSyntaxtHighlighter::rehighlight() to update highlighting on the whole document nothing happens until the text edit is updated (for example: resized..).

      Expected behavior: text background should be updated after calling rehighlight()

      The workaround for this issue is to update every block with QSyntaxHighlighter::rehighlightBlock(textblock) mentioned here.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            maria.som Maria Somorovska
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes