commit 3e5d0bad85a34957c42ec2207b9761a962ced097 Author: Peng Wu Date: Tue Mar 24 15:50:43 2020 +0800 text-input: Support ibus update_preedit_string_with_mode feature diff --git a/unstable/text-input/text-input-unstable-v3.xml b/unstable/text-input/text-input-unstable-v3.xml index 8b710fd..e3623b4 100644 --- a/unstable/text-input/text-input-unstable-v3.xml +++ b/unstable/text-input/text-input-unstable-v3.xml @@ -249,6 +249,21 @@ + + + Whether the client commit preedit text or not. + + + + + + + + Sets the client commit preedit capability. + + + + Marks an area around the cursor as a x, y, width, height rectangle in @@ -303,6 +318,12 @@ + + + Reset the input method state. + + + Notification that this seat's text-input focus is on a certain surface. @@ -355,6 +376,35 @@ + + + Notify when a new composing text (pre-edit) should be set at the + current cursor position. Any previously set composing text must be + removed. Any previously existing selected text must be removed. + + The argument text contains the pre-edit string buffer. + + The parameters cursor_begin and cursor_end are counted in bytes + relative to the beginning of the submitted text buffer. Cursor should + be hidden when both are equal to -1. + + The parameter mode is the commit mode. + + They could be represented by the client as a line if both values are + the same, or as a text highlight otherwise. + + 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. + + The initial value of text is an empty string, and cursor_begin, + cursor_end and cursor_hidden are all 0. + + + + + + + Notify when text should be inserted into the editor widget. The text to