My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 778: "Get surrounding text" feature is necessary for some input methods in ibus-m17n
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  daiki.u...@gmail.com
Closed:  Apr 2011
Cc:  daiki.u...@gmail.com, takao.fujiwara1


Sign in to add a comment
 
Project Member Reported by yusukes@chromium.org, Feb 10, 2010
This is a feature request related to https://code.google.com/p/ibus/issues/detail?id=671.

If I recall correctly, the current iBus framework does not provide a way to retrieve surrounding text in a 
client application.  However, it would be very nice if we could implement it so that the following input 
methods in ibus-m17n, that require the feature, could work correctly:

> tibettan: bo-ewts, bo-tcrc
> cham: cmc-kbd
> vietnames: vi-tcvn, vi-telex, vi-viqr, vi-vni

(The list above is received from m17n-lib developers. Thanks a lot for the information.)

Jun 25, 2010
Project Member #2 daiki.u...@gmail.com
I implemented this feature a while ago, and just rebased the patch against the current ibus & ibus-m17n master:

http://github.com/ueno/ibus/commit/f9872745f3ef7efde90e30f0e952e67deab9d6ef
http://github.com/ueno/ibus-m17n/commit/b33f9171fe9011a46de95dabe8bf3dd7bb8f6b74

Testing would be much appreciated.  Here is a test-case provided by Handa-san (m17n-lib author):

1. Add "Vietnamese telex (m17n)" input method
2. open gedit and type "giets giets giets ...".
   => you will see "giét giét giét ...".  Each time you type "giets", "i", "ie", "iet", "iét" are in preedit.
3. type "g" and C-SPC to disable IBus, re-enable it, and type "iets"
   => you will get "giét" as above

Jun 25, 2010
Project Member #3 daiki.u...@gmail.com
forgot to mention the failure case:
on 3, if surrounding-text is not supported, you will see "gíet" instead of "giét" (please note that an accute is on "i" not "e").  This is the behavior when m17n-lib cannot get the first "g".
Oct 13, 2010
Project Member #5 takao.fujiwara1
 Issue 1097  has been merged into this issue.
Cc: daiki.ueno takao.fujiwara1
Apr 5, 2011
Project Member #6 daiki.u...@gmail.com
A patch has been committed to the git master.
http://codereview.appspot.com/4276082/

Closing.
Status: Fixed
Owner: daiki.u...@gmail.com
Labels: -Type-Defect Type-Enhancement Component-ibus
Sign in to add a comment

Powered by Google Project Hosting