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

the block revision is not increased after joining two blocks in a QPlainTextEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • GUI: Text handling
    • None

    Description

      tldr: see attached testcase

      Steps to reproduce:

      • create a QPlainTextEdit
      • set text with more than one line, for example: "line1\nline2"
      • move the text cursor to the end of the first line
      • press del to remove the line break

      Expected result:

      • the first line QTextBlock::revision() before and after removing the line break differ

      Current result:

      • the first line QTextBlock::revision() before and after removing the line break is identical

       

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              davschul David Schulz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes