text-input: clarify pre-edit cursor's start/end purpose

The word `highlight` rather accurate, could be confused with selection
by folks not familiar with IME matters, so clarify what it's for and
that it's not a selection.

Closes: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/304
Signed-off-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
Kirill Chibisov 2025-12-24 00:41:12 +09:00
parent a6ac326be3
commit 2708f58da1
No known key found for this signature in database
GPG key ID: E803FF4B6CE71BCB
2 changed files with 8 additions and 2 deletions

View file

@ -354,7 +354,10 @@
be hidden when both are equal to -1.
They could be represented by the client as a line if both values are
the same, or as a text highlight otherwise.
the same, or as a text highlight otherwise. The purpose of such
representation is to clearly indicate the region that is being
edited inside the pre-edit and shouldn't be confused with text
selection.
Values set with this event are double-buffered. They must be applied
and reset to initial on the next xx_text_input_v3.done event.

View file

@ -352,7 +352,10 @@
be hidden when both are equal to -1.
They could be represented by the client as a line if both values are
the same, or as a text highlight otherwise.
the same, or as a text highlight otherwise. The purpose of such
representation is to clearly indicate the region that is being
edited inside the pre-edit and shouldn't be confused with text
selection.
Values set with this event are double-buffered. They must be applied
and reset to initial on the next zwp_text_input_v3.done event.