Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1181 by bart.weisser: Ability to automatically toggle between keyboard and table modes with token string
http://code.google.com/p/ibus/issues/detail?id=1181

Suggestion for enhancement ...

The ability for ibus to only activate table mode after a certain keystroke(s) have been typed, and deactivate itself after the symbol has been selected.

After using ibus-table-latex, this table can be extended to accented alphabets, which is particularly useful for foreign language speakers who only have access to a US keyboard. At current, there are twi challenges in adopting ibus for this purpose.

1) This requires very frequent switching between keyboard and table modes, which has to be toggled manually.

2) ibus, in table mode, will provide suggestions as soon as a character from the list of "VALID_INPUT_CHARS" is entered.

Using latex commands as an example, all commands will begin with "\" to distinguish command from text. I believe ibus can be toggled this way. The most direct way is to introduce a section in the ibus table definition (e.g., TOKEN) that will activate the table mode when a token string is typed. For instance, defining "\" as the token string in the file ibus-table-latex.txt, which will provide suggestions the moment the user types in "\", and promptly return to keyboard mode once the symbol has been inserted into the text. In addition, this option can be made optional to reduce interference with other IMs (such as Chinese).


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

回复