Comment #5 on issue 1642 by [email protected]: delete-surrounding-text is not supported by ibus-qt
http://code.google.com/p/ibus/issues/detail?id=1642

Is there any way to check if the capability is supported on the current client?

Probably I don't understand the question.

What I mean is: is there a way for me to know if the current context support delete-surrounding-text, and only fallback to using the preedit area if it's not supported?

Could you also attach a test source file or an application so that I test your patch?
I think to make sure that only the delete-surrounding-text is implemented

OK. I updated the patch on my branch to handle deletes past the beginning, and you'll find attached a simple Python engine: pressing the n key, with n = [1..9], will backward delete n characters from the current cursor position.

Start with: python2 ./main.py


Attachments:
        main.py  3.7 KB
        engine.py  2.0 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

回复