diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index c1c1b22..936a383 100644 --- a/unstable/text-input/text-input-unstable-v3.xml +++ b/unstable/text-input/text-input-unstable-v3.xml @@ -47,7 +47,7 @@ interface version number is reset. - + The zwp_text_input_v3 interface represents text input and input methods associated with a seat. It provides enter/leave events to follow the @@ -432,6 +432,85 @@ + + + + + Underline style to apply to sections of the preedit string. + + + + + + + + + Notify of underlining style hints for the pre-edit string. This + event is always sent together with a zwp_text_input_v3.preedit_string + event. + + The parameters begin and end are counted in bytes relative to the + beginning of the text buffer submitted through + zwp_text_input_v3.preedit_string. + + Multiple events may be submitted if the preedit string has different + sections. Compositors must not send multiple + zwp_text_input_v3.preedit_underline events with overlapping extents. + + Clients may optionally honor this request. For parts of the preedit + string that are not covered by any zwp_text_input_v3.preedit_underline + event, or if no events were sent, the text will be considered not + underlined. + + Values set with this event are double-buffered. They must be applied + and reset on the next zwp_text_input_v3.done event. + + + + + + + + + Context hints to identify sections of the preedit string. + + + + + + + + + + + + + + + Notify of contextual hints for the pre-edit string. This + event is always sent together with a zwp_text_input_v3.preedit_string + event. + + The parameters begin and end are counted in bytes relative to the + beginning of the text buffer submitted through + zwp_text_input_v3.preedit_string. + + Multiple events may be submitted if the preedit string has different + sections. Compositors must not send multiple + zwp_text_input_v3.preedit_underline events with overlapping extents. + + Clients are free to pick any visuals to represent the available hints, + including none at all. For parts of the preedit string that are not + covered by any zwp_text_input_v3.preedit_hint event, or if no events + were sent, the text will be considered unhinted. + + Values set with this event are double-buffered. They must be applied + and reset on the next zwp_text_input_v3.done event. + + + + +