|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|
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.)
Feb 17, 2010
FYI: m17n-db is updated: http://cvs.m17n.org/viewcvs/m17n/m17n-db/MIM/vi-tcvn.mim?view=log#rev1.5 http://cvs.m17n.org/viewcvs/m17n/m17n-db/MIM/vi-telex.mim?view=log#rev1.16 http://cvs.m17n.org/viewcvs/m17n/m17n-db/MIM/vi-viqr.mim?view=log#rev1.4 http://cvs.m17n.org/viewcvs/m17n/m17n-db/MIM/vi-vni.mim?view=log#rev1.4 Now we can input Vietnamese characters without the "get surrounding text" feature.
Jun 25, 2010
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
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".
Aug 12, 2010
Revised patch (for ibus). http://github.com/ueno/ibus/commit/782d80ef674dcb8d44a88daaaf5ffd0175c38490
Oct 13, 2010
Issue 1097 has been merged into this issue.
Cc: daiki.ueno takao.fujiwara1
Apr 5, 2011
A patch has been committed to the git master. http://codereview.appspot.com/4276082/ Closing.
Labels: -Type-Defect Type-Enhancement Component-ibus
|► Sign in to add a comment|