-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.6.2, 5.9.1, 5.10.0 Alpha, 5.14.1
-
None
-
Windows 10
-
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." }