text: Add delete_surrounding_text to protocol
authorJan Arne Petersen <jpetersen@openismus.com>
Sun, 9 Sep 2012 21:08:44 +0000 (23:08 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Sep 2012 20:51:08 +0000 (16:51 -0400)
commite202bae9d3736341dc2d0c832797aaf45e1ef0b0
treeb31cd3c5f11009449a7ca51a1b4ef894fdd139cb
parent43f4aa8cab93ae32e427ab8426261950d83f2755
text: Add delete_surrounding_text to protocol

Add delete_surrounding_text event in the text_model interface and the
request in the input_method_context interface. Implement it in the
example editor client and in the example keyboard so that the backspace
key works with it.

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