[PATCH] set proper microFocusHint for ASIAN InputMethod

Kazuki Ohta mover at hct.zaq.ne.jp
Thu Aug 26 06:03:10 BST 2004


Hi.

I found kate sets wrong microFocusHint for ASIAN input method.
Current code sets it at the cursor position, but it should be
at the start pos of preedit selection. Please see the comment.

  // Cursor placement code is changed for Asian input method that
  // shows candidate window. This behavior is same as Qt/E 2.3.7
  // which supports Asian input methods. Asian input methods need
  // start point of IM selection text to place candidate window as
  // adjacent to the selection text.

Here is the screenshot before fixing and after fixing.

before : http://mover.cool.ne.jp/others/immodule/before-fix.png
after  : http://mover.cool.ne.jp/others/immodule/after-fix.png

and this is the patch.

patch  : http://mover.cool.ne.jp/others/immodule/kate-fix-microfocus.diff

Please check if there's anything wrong with this patch.

regards.

---------------------------------
Move the worl:D!
Kazuki Ohta : mover at hct.zaq.ne.jp




More information about the kde-core-devel mailing list