From 427d52e86f61c744739b518d5b90c0ad344da1a5 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 8 Sep 2016 12:42:28 -0700 Subject: input-method: Correct grammar These should all be pretty straightforward; there are no behavioral changes. Signed-off-by: Bryce Harrington Reviewed-by: Yong Bakos --- unstable/input-method/input-method-unstable-v1.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'unstable/input-method') 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 @@ 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 @@ 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. @@ -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. -- cgit v1.2.3