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

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

XMLWordPrintable

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

      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

       

        1. untitled31.zip
          0.9 kB
          David Schulz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes