Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.15.6, 6.2.0
-
None
-
-
79807f37b5 (qt/qtdeclarative/dev) 79807f37b5 (qt/tqtc-qtdeclarative/dev) d872223fdf (qt/qtdeclarative/6.3) 7b73e64ff6 (qt/qtdeclarative/6.2) 253922cc74 (qt/tqtc-qtdeclarative/5.15) 7b73e64ff6 (qt/tqtc-qtdeclarative/6.2) 55ac0e04f5 (qt/qtdeclarative/6.3.0)
Description
Currently, the documentation of the cursorPosition is very short; even too short for power users:
The position of the cursor in the TextInput.
Can't we be a little bit more specific as to which position of the TextInput it refers to? What are the measurement units of this int – bytes/characters(graphemes)/glyphs? How to use from JavaScript methods that operate on Strings? How does it correlate with text vs. preeditText vs. displayText properties?
Attachments
Issue Links
- relates to
-
QTBUG-38621 cursorPosition by default contains a length of text
-
- Open
-
-
QTBUG-94593 Japanese Halfwidth Katakana Voiced Sound Mark concatenate with other char
-
- Open
-
-
QTBUG-45264 Add similar property as cursorPosition that works with displayText to TextInput
-
- Reported
-
-
QTBUG-71718 Typed Devanagari not consistent with native macOS app
-
- Closed
-
-
QTBUG-122701 Extend TextInput.cursorPosition documentation even more
-
- Reported
-