Hiroyuki Komatsu
komat****@users*****
2005年 3月 27日 (日) 19:32:23 JST
Index: prime/lib/composer.rb diff -u prime/lib/composer.rb:1.8 prime/lib/composer.rb:1.9 --- prime/lib/composer.rb:1.8 Thu Mar 17 21:01:57 2005 +++ prime/lib/composer.rb Sun Mar 27 19:32:22 2005 @@ -1,5 +1,5 @@ # composer.rb: Module of composition for PrimeSession -# $Id: composer.rb,v 1.8 2005/03/17 12:01:57 komatsu Exp $ +# $Id: composer.rb,v 1.9 2005/03/27 10:32:22 komatsu Exp $ # # Copyright (C) 2005 Hiroyuki Komatsu <komat****@taiya*****> # All rights reserved. @@ -269,7 +269,11 @@ end def edit_get_preedition () - retur****@compo*****_get_preediting_string( get_context() ) + if****@compo*****_of?( PrimeComposer ) then + retur****@compo*****_get_preediting_string( get_context() ) + else + retur****@compo*****_get_preediting_string() + end end def edit_get_query_string ()