How does "move cursor one word to the right" work in zwp_text_input_unstable_v3?

Filip Filmar filmil at gmail.com
Thu Dec 15 18:48:44 UTC 2022


Hi folks!

I am exploring the features of the v3 text input API as seen at
https://wayland.app/protocols/text-input-unstable-v3.

I am curious, how does this API then implement operations such as "move
cursor one word to the right" or "move cursor to the end of the line" or
"move cursor to the end of the field"?

I ask because, IIUC, the wayland side of this API does not know the entire
string being edited - it can only instruct adding or removing the text
surrounding the cursor position.

Any info on this is appreciated.

Thanks,
F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20221215/a8f7ae23/attachment.htm>


More information about the wayland-devel mailing list