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

WrapAtWordBoundaryOrAnywhere does not work as documented.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.2, 5.4.0 Alpha
    • GUI: Text handling
    • None

    Description

      The name and documentation of QTextOption::WrapAtWordBoundaryOrAnywhere suggest that it behaves like WordWrap whenever it can, and like WrapAnywhere as a fallback when it can't.

      Instead, when the QTextEdit is in FixedColumnWidth mode, it seems to behave like WrapAnywhere all the time. I have not managed to make it wrap at a word's boundary in any case where FixedColumnWidth was used.

      If WrapAtWordBoundaryOrAnywhere is really intended simply as an alias for WrapAnywhere, the documentation should probably reflect it.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            pvaret P. Varet
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes