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

    • Type: Task
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Technical Risk:
      Normal

      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

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              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