text/inputmethod: Add recapture_string protocol 38/115338/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Feb 2017 10:51:37 +0000 (19:51 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Feb 2017 10:56:31 +0000 (19:56 +0900)
Change-Id: I3ae43ebad607d9b0d0b5a22a8824e7b647f5ba6d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
protocol/input-method.xml
protocol/text.xml

index 0821a07..5926aad 100644 (file)
       <arg name="width" type="uint"/>
       <arg name="height" type="uint"/>
     </request>
+    <request name="recapture_string">
+      <description summary="recapture string">
+        Send the recapture string text to the application text input.
+      </description>
+      <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
+      <arg name="index" type="int"/>
+      <arg name="length" type="uint"/>
+      <arg name="preedit" type="string"/>
+      <arg name="preedit_commit" type="string"/>
+      <arg name="commit" type="string"/>
+    </request>
     <event name="reset">
     </event>
     <event name="content_type">
index 07451e2..d46eec2 100644 (file)
       </description>
       <arg name="response" type="uint"/>
     </event>
+    <event name="recapture_string">
+      <description summary="recapture">
+        Notify when the existed text should be deleted and a new composing text (pre-edit) or commit string
+        should be set around the current cursor position.
+      </description>
+      <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
+      <arg name="index" type="int"/>
+      <arg name="length" type="uint"/>
+      <arg name="preedit" type="string"/>
+      <arg name="preedit_commit" type="string"/>
+      <arg name="commit" type="string"/>
+    </event>
   </interface>
 
   <interface name="wl_text_input_manager" version="1">