aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-09-08 12:42:28 -0700
committerBryce Harrington <bryce@bryceharrington.org>2016-09-14 14:48:42 -0700
commit427d52e86f61c744739b518d5b90c0ad344da1a5 (patch)
treecbb4666012b84d7d3dc23c6eeee476e6ece81e56
parent1392110d382eb6552e4ece41da305e796d6d807a (diff)
input-method: Correct grammar
These should all be pretty straightforward; there are no behavioral changes. Signed-off-by: Bryce Harrington <bryce@bryceharrington.org> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
-rw-r--r--unstable/input-method/input-method-unstable-v1.xml16
1 files 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"/>