Updates:
Status: Accepted
Comment #6 on issue 1642 by takao.fujiwara1: delete-surrounding-text is not
supported by ibus-qt
http://code.google.com/p/ibus/issues/detail?id=1642
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?
I meant to use preedit always instead of selecting surrounding-text or
preedit by context.
If the feature is really needed, probabaly
ibus/bus/inputcontext.c:bus_input_context_get_client() needs to be
implmeneted in ibusengine.
Start with: python2 ./main.py
Thanks for the test files. Sounds good.
I'd suggest the following change to have the similar behavior with GTK
applications:
--- ibus-input-context.cpp
+++ ibus-input-context.cpp
@@ -805,9 +805,8 @@
int cursor = widget->inputMethodQuery(Qt::ImCursorPosition).toInt();
cursor += offset;
- if (cursor < 0)
- {
-
+ if (cursor < 0) {
+ offset -= cursor;
nchars += cursor;
}
--
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.