[uim-commit] r246 - trunk/scm
ekato@freedesktop.org
ekato@freedesktop.org
Tue Jan 11 00:45:09 PST 2005
Author: ekato
Date: 2005-01-11 00:45:06 -0800 (Tue, 11 Jan 2005)
New Revision: 246
Modified:
trunk/scm/skk.scm
Log:
* scm/skk.scm (skk-proc-state-direct) : Commit pending rk "n" with
skk-return-key?. Flush context for native (not for uim skk)
event with {control,alt} mask (but I can't understand why key 32
exists here? Also meaning of the code and its comment
differs??)
Modified: trunk/scm/skk.scm
===================================================================
--- trunk/scm/skk.scm 2005-01-11 07:53:39 UTC (rev 245)
+++ trunk/scm/skk.scm 2005-01-11 08:45:06 UTC (rev 246)
@@ -846,7 +846,7 @@
;; commits with flushing pending rk, and adds explicit newline.
(if (skk-return-key? key key-state)
(begin
- (rk-flush rkc)
+ (set! res (rk-push-key-last! rkc))
(skk-commit-raw-with-preedit-update sc key key-state)
#f)
#t)
@@ -923,7 +923,8 @@
(alt-key-mask key-state)
(= key 32)) ;; "<Control> ", "<Alt> ", and so on
(begin
- (skk-commit-raw sc key key-state)
+ (skk-flush sc)
+ (skk-commit-raw-with-preedit-update sc key key-state)
#f)
#t)
;; Should be fixed to look lower or upper rather than looking
More information about the Uim-commit
mailing list