Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Text Edit example with wrong heading behavior

Text Edit example with wrong heading behavior

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 198 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    felipef
    wrote on last edited by
    #1

    I was using the Text Edit example to learn about QTextEdit, and noticed that the heading behavior seems wrong in one case.

    1. Add a new line.
    2. Select the style "Heading 3".
    3. Select the whole line and remove it (but keep the line break, i.e. don't change the line count of the document).
    4. Enter some text.

    Notice that after step 4, the heading is entered with the heading level expected, but the bold format isn't kept.
    This happens whenever we create a new heading. But with headings loaded from an HTML file, this doesn't happen.

    jsulmJ 1 Reply Last reply
    0
    • F felipef

      I was using the Text Edit example to learn about QTextEdit, and noticed that the heading behavior seems wrong in one case.

      1. Add a new line.
      2. Select the style "Heading 3".
      3. Select the whole line and remove it (but keep the line break, i.e. don't change the line count of the document).
      4. Enter some text.

      Notice that after step 4, the heading is entered with the heading level expected, but the bold format isn't kept.
      This happens whenever we create a new heading. But with headings loaded from an HTML file, this doesn't happen.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @felipef You should report bugs here: https://bugreports.qt.io/secure/Dashboard.jspa

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved