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

Hitting Enter on blank line in QTextEdit doesn't add paragraph when QTextBlockFormat present

    XMLWordPrintable

Details

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

    Description

      When you have blocks formatted with QTextBlockFormat, and you hit enter on a blank line, it doesn't add a new paragraph/line. It actually removes a line/block and adds a new one with default formatting. See minimal example attached.

      Attachments

        1. bug.pro
          0.0 kB
          Joshua Grauman
        2. main.cpp
          0.7 kB
          Joshua Grauman
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jgrauman Joshua Grauman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes