update text protocol
authorBoram Park <boram1288.park@samsung.com>
Mon, 20 Jul 2015 02:40:47 +0000 (11:40 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 20 Jul 2015 02:40:47 +0000 (11:40 +0900)
Change-Id: Id0d61e3354dc5902da6ae791471259a2a58a36d7

protocol/text.xml

index abaaeb0..a4be38c 100644 (file)
@@ -28,7 +28,7 @@
 
   <interface name="wl_text_input" version="1">
     <description summary="text input">
-      An object used for text input. Adds support for text input and input
+      An object used for text input. Adds support for text input and input 
       methods to applications. A text-input object is created from a
       wl_text_input_manager and corresponds typically to a text entry in an
       application.
@@ -50,7 +50,7 @@
     </description>
     <request name="activate">
       <description summary="request activation">
-        Requests the text-input object to be activated (typically when the
+        Requests the text-input object to be activated (typically when the 
         text entry gets focus).
         The seat argument is a wl_seat which maintains the focus for this
         activation. The surface argument is a wl_surface assigned to the
       <entry name="time" value="10" summary="input a time"/>
       <entry name="datetime" value="11" summary="input a date and time"/>
       <entry name="terminal" value="12" summary="input for a terminal"/>
+      <entry name="ip" value="13" summary="input for a IP (number and a-f for Ipv6)"/>
+      <entry name="emoticon" value="14" summary="input for an emoticon"/>
     </enum>
     <request name="set_content_type">
       <description summary="set content purpose and hint">
     <request name="set_preferred_language">
       <description summary="sets preferred language">
         Sets a specific language. This allows for example a virtual keyboard to
-        show a language specific layout. The "language" argument is a RFC-3066
+        show a language specific layout. The "language" argument is a RFC-3066 
        format language tag.
 
        It could be used for example in a word processor to indicate language of
       </description>
       <arg name="map" type="array"/>
     </event>
+    <enum name="input_panel_state">
+      <entry name="hide" value="0" summary="Notification prior to the dismissal of the input panel"/>
+      <entry name="show" value="1" summary="Notification after the display of the input panel"/>
+    </enum>
     <event name="input_panel_state">
       <description summary="state of the input panel">
         Notify when the visibility state of the input panel changed.
     <event name="preedit_styling">
       <description summary="pre-edit styling">
         Sets styling information on composing text. The style is applied for
-       length bytes from index relative to the beginning of the composing
+       length bytes from index relative to the beginning of the composing 
        text (as byte offset). Multiple styles can
         be applied to a composing text by sending multiple preedit_styling
         events.
     </event>
     <event name="language">
       <description summary="language">
-        Sets the language of the input text. The "language" argument is a RFC-3066
+        Sets the language of the input text. The "language" argument is a RFC-3066 
         format language tag.
       </description>
       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>