Revision: 7369
Author:   deton.kih
Date:     Fri Nov 18 15:47:55 2011
Log:      * scm/tutcode.scm
  - (tutcode-postfix-commit):
    Fix problem that unexpected characters are deleted on Firefox
    when preedit is shown.

http://code.google.com/p/uim/source/detail?r=7369

Modified:
 /trunk/scm/tutcode.scm

=======================================
--- /trunk/scm/tutcode.scm      Sat Nov 12 17:57:00 2011
+++ /trunk/scm/tutcode.scm      Fri Nov 18 15:47:55 2011
@@ -3062,6 +3062,9 @@
 ;;; @param str ³ÎÄꤹ¤ëʸ»úÎó
 ;;; @param yomi-list ÊÑ´¹¸µ¤Îʸ»úÎó(ÆÉ¤ß/Éô¼ó)¤Î¥ê¥¹¥È(µÕ½ç)
 (define (tutcode-postfix-commit pc str yomi-list)
+ ;; Firefox¤Çºï½ü°ÌÃÖ¤¬¤º¤ì¤ë¤Î¤ò²óÈò¤¹¤ë¤¿¤ápreedit¤òclear¤·¤Æ¤«¤édelete-text
+  (im-clear-preedit pc)
+  (im-update-preedit pc)
   (tutcode-postfix-delete-text pc (length yomi-list))
   (tutcode-commit pc str)
   (tutcode-undo-prepare pc 'tutcode-state-off str yomi-list))

Reply via email to