Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.4, 6.2
-
None
Description
import QtQuick 2.15 import QtQuick.Controls 2.15 ApplicationWindow{ width: 500 height: 500 visible: true Column { TextEdit { id: test textFormat: Text.RichText text: 'A\uFF9Eガギグ' font.pixelSize: 40 } Button { text: "set cursorPosition to 1" onClicked: { test.cursorPosition = 1 test.forceActiveFocus() } } } }
when moving the cursor, A゙ treated as a single character.
it expected to make separate for the cursor movement, otherwise, we can set the cursor position to the mid of them, but invisibly the cursor position is not in mid.
Attachments
Issue Links
- relates to
-
QTBUG-97169 Docs: Improve cursorPosition description in TextInput and TextEdit docs
-
- Closed
-