[PATCH wayland-protocols] input-method: Correct grammar

Yong Bakos junk at humanoriented.com
Fri Sep 9 04:17:25 UTC 2016


On Sep 8, 2016, at 12:42 PM, Bryce Harrington <bryce at osg.samsung.com> wrote:
> 
> From: Bryce Harrington <bryce at bryceharrington.org>
> 
> These should all be pretty straightforward; there are no behavioral
> changes.
> 
> Signed-off-by: Bryce Harrington <bryce at bryceharrington.org>

Reviewed-by: Yong Bakos <ybakos at humanoriented.com>

yong


> ---
> unstable/input-method/input-method-unstable-v1.xml | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/unstable/input-method/input-method-unstable-v1.xml b/unstable/input-method/input-method-unstable-v1.xml
> index c1b2b59..e213c05 100644
> --- a/unstable/input-method/input-method-unstable-v1.xml
> +++ b/unstable/input-method/input-method-unstable-v1.xml
> @@ -27,8 +27,8 @@
>   <interface name="zwp_input_method_context_v1" version="1">
>     <description summary="input method context">
>       Corresponds to a text input on the input method side. An input method context
> -      is created on text input activation on the input method side. It allows to
> -      receive information about the text input from the application via events.
> +      is created on text input activation on the input method side. It allows
> +      receiving information about the text input from the application via events.
>       Input method contexts do not keep state after deactivation and should be
>       destroyed after deactivation is handled.
> 
> @@ -122,10 +122,10 @@
>     <request name="cursor_position">
>       <description summary="set cursor to a new position">
> 	Sets the cursor and anchor to a new position. Index is the new cursor
> -	position in bytes (when >= 0 relative to the end of inserted text,
> -	otherwise relative to the beginning of the inserted text). Anchor is
> -	the new anchor position in bytes (when >= 0 relative to the end of the
> -	inserted text, otherwise relative to the beginning of the inserted
> +	position in bytes (when >= 0 this is relative to the end of the inserted text,
> +	otherwise it is relative to the beginning of the inserted text). Anchor is
> +	the new anchor position in bytes (when >= 0 this is relative to the end of the
> +	inserted text, otherwise it is relative to the beginning of the inserted
> 	text). When there should be no selected text, anchor should be the same
> 	as index.
> 
> @@ -145,7 +145,7 @@
> 	Notify when a key event was sent. Key events should not be used for
> 	normal text input operations, which should be done with commit_string,
> 	delete_surrounding_text, etc. The key event follows the wl_keyboard key
> -	event convention. Sym is an XKB keysym, state a wl_keyboard key_state.
> +	event convention. Sym is an XKB keysym, state is a wl_keyboard key_state.
>       </description>
>       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
>       <arg name="time" type="uint"/>
> @@ -212,7 +212,7 @@
> 	position in bytes within the surrounding text relative to the beginning
> 	of the text. Anchor is the position in bytes of the selection anchor
> 	within the surrounding text relative to the beginning of the text. If
> -	there is no selected text anchor is the same as cursor.
> +	there is no selected text then anchor is the same as cursor.
>       </description>
>       <arg name="text" type="string"/>
>       <arg name="cursor" type="uint"/>
> -- 
> 1.9.1
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel



More information about the wayland-devel mailing list