Updates:
Status: Fixed
Owner: [email protected]
Comment #6 on issue 726 by [email protected]: ibus-table auto-commit
improvement
http://code.google.com/p/ibus/issues/detail?id=726
For which table do you want this feature?
There is an option "auto_select" which can be changed in the setup tool
of ibus-table now:
https://github.com/kaio/ibus-table/commit/3cf6393af76d4d634fc5a5ae4281a21d1123bcc1
commit 3cf6393af76d4d634fc5a5ae4281a21d1123bcc1
Author: Mike FABIAN <[email protected]>
Date: Sun May 18 06:39:20 2014 +0200
Add “auto_select” option to setup tool
This option has a very misleading name. It does not really
automatically
select anything.
When set to “True” does the following things:
1) commit the matched phrase and a line feed instead of the tabkeys
and no line feed when Return is typed (apparently Chinese input
methods like Wubi want to insert the tabkeys instead of the phrase
on Return, this is used as a quick way to insert one Latin word
without having to switch to direct input mode or another input
method. But for non-Chinese input methods like the Russian
“translit”, this makes of course no sense).
2) commit the matched phrase when Tab is typed
3) When committing by typing Space, commit the phrase followed by a
“ ” instead of only the phrase.
4) if typing a valid input character has the result that there are no
candidates anymore, but there were candidates before typing that
character, pop that character from the input again, commit the
first of the previous candidates and then reprocess the input
character. This is also mainly needed for non-Chinese input
methods like the Russian “translit”. The “translit” table
contains:
sh ш
shh щ
so typing “sh” matches “ш” and “щ”. The
candidate with the shortest key sequence comes
first in the lookup table, therefore “sh ш”
is shown in the preëdit (The other candidate,
“shh щ” comes second in the lookup table and
could be selected using arrow-down. But
“translit” hides the lookup table by default).
Now, when after typing “sh” one types “s”,
the key “shs” has no match, so add_input('s')
returns “False” and we end up here. We pop the
last character “s” which caused the match to
fail, commit first of the previous candidates,
i.e. “sh ш” and feed the “s” into the
key event handler again.
Maybe this option should be renamed because the name is really
misleading?
Maybe even split it in several options, maybe even a separate option
for each of 1), 2), 3), and 4)?
I guess part 4) of this option does what you want.
So if you don’t mind that it also does 1), 2), and 3), then
this might help you.
In the long run, I should really make these different options.
I will set this to FIXED because the auto_select option seems
to do what you want. And in the long run I think I’ll take
1), 2), and 3) out of the auto_select option and make them separate
options.
Please reopen, if you disagree.
--
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/d/optout.