Comment #2 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? Otherwise there is no point in using the method if you want to make an engine usable with XIM / QT clients...

Regarding implementation for non-GTK+, I think it can done for QT using the fact that the commit method from QInput allow specifying the region to act upon (offset + length), effectively allowing us to delete text by committing an empty string.

You can find a proof of concept patch here: https://github.com/benoit-pierre/ibus-qt/compare/delete-surrounding-text

--
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.

回复