• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Revisãof4dc92fdf3ad13afcf6bc227fc6c0f78bba09b48 (tree)
Hora2014-01-04 03:40:25
AutorJae-hyeon Park <jhyeon@gmai...>
CommiterJae-hyeon Park

Mensagem de Log

Fix a bug in byeoru menu

* scm/byeoru.scm

- call (byeoru-deactivate-candidate-selector) instead of
(im-deactivate-candidate-selector) so that
byeoru-context-cand-no and byeoru-context-menu-no are preserved

Mudança Sumário

Diff

--- a/scm/byeoru.scm
+++ b/scm/byeoru.scm
@@ -1752,7 +1752,7 @@
17521752 (im-select-candidate bc compensated-n)))
17531753
17541754 (define (byeoru-cancel-conv bc)
1755- (im-deactivate-candidate-selector bc)
1755+ (byeoru-deactivate-candidate-selector bc)
17561756 (case (byeoru-context-mode bc)
17571757 ((conv)
17581758 (byeoru-context-set-mode! bc 'hangul)
@@ -1779,7 +1779,7 @@
17791779 (byeoru-context-set-conv-hist!
17801780 bc (byeoru-exclusive-cons (cons key (car cand))
17811781 (byeoru-context-conv-hist bc)))
1782- (im-deactivate-candidate-selector bc)
1782+ (byeoru-deactivate-candidate-selector bc)
17831783 (byeoru-context-set-mode! bc 'hangul)
17841784 (ustr-set-former-seq! word (ustr-latter-seq convr))))
17851785
@@ -1792,7 +1792,7 @@
17921792 bc (byeoru-take (byeoru-exclusive-cons str cache string=?)
17931793 byeoru-symbol-cache-size)))
17941794
1795- (im-deactivate-candidate-selector bc)
1795+ (byeoru-deactivate-candidate-selector bc)
17961796 (case (byeoru-context-mode bc)
17971797 ((menu)
17981798 (let ((cand (list-ref cands (byeoru-context-menu-no bc))))
@@ -1956,7 +1956,11 @@
19561956
19571957 (define (byeoru-deactivate-candidate-selector bc)
19581958 (if (not (eq? (byeoru-context-mode bc) 'hangul))
1959- (im-deactivate-candidate-selector bc)))
1959+ (let ((cand-no (byeoru-context-cand-no bc))
1960+ (menu-no (byeoru-context-menu-no bc)))
1961+ (im-deactivate-candidate-selector bc)
1962+ (byeoru-context-set-cand-no! bc cand-no)
1963+ (byeoru-context-set-menu-no! bc menu-no))))
19601964
19611965 (define (byeoru-reset-handler bc)
19621966 (if (byeoru-context-on? bc)