text: add pre-edit styling support to protocol
authorJan Arne Petersen <jpetersen@openismus.com>
Wed, 16 Jan 2013 20:26:38 +0000 (21:26 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Feb 2013 21:55:27 +0000 (16:55 -0500)
commit4653531e7a846abc5fee89a74f5edf3e1835fc5e
treee02dd3f3a89082bf4075b3628501b9d882d06318
parent18639f8d4a28b4471516080c7af68926eaeb62e2
text: add pre-edit styling support to protocol

Also add a separate preedit-cursor event and add a commit argument to
preedit-string to allow to support commit on reset. Fix editor and
keyboard example to adapt to the protocol changes.

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
clients/editor.c
clients/keyboard.c
clients/weston-simple-im.c
protocol/input-method.xml
protocol/text.xml
src/text-backend.c