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

[QtQuick, TextEdit] Soft hypen and incorrectly drawn selection

XMLWordPrintable

    • 0fe6f818d (dev), 16407d12e (tqtc/lts-6.2), f7f8274ca (tqtc/lts-5.15), b0d395e27 (6.5), 2494dd0aa (6.4)

       If you put a soft hyphen symbol (unicode or html) in TextEdit, then the selection is incorrectly drawn.

      Example:

      TextEdit {
          anchors.fill: parent
          text: "En\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt."
          font.pointSize: 20
          wrapMode: TextEdit.Wrap
          
          // or html version
          //textFormat: Text.RichText
          //text: "En­ter so­me te­xt, en­ter so­me te­xt, en­ter so­me te­xt, en­ter so­me te­xt."
      }
      

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

            esabraha Eskil Abrahamsen Blomfeldt
            dragonic dragonic
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: