mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-05-23 10:38:11 +02:00
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:
parent
a6ac326be3
commit
2708f58da1
2 changed files with 8 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue