Hiroyuki Komatsu
komat****@users*****
2005年 3月 9日 (水) 17:42:52 JST
Index: prime/lib/composer.rb diff -u prime/lib/composer.rb:1.5 prime/lib/composer.rb:1.6 --- prime/lib/composer.rb:1.5 Tue Mar 8 20:24:57 2005 +++ prime/lib/composer.rb Wed Mar 9 17:42:52 2005 @@ -1,5 +1,5 @@ # composer.rb: Module of composition for PrimeSession -# $Id: composer.rb,v 1.5 2005/03/08 11:24:57 komatsu Exp $ +# $Id: composer.rb,v 1.6 2005/03/09 08:42:52 komatsu Exp $ # # Copyright (C) 2005 Hiroyuki Komatsu <komat****@taiya*****> # All rights reserved. @@ -45,6 +45,13 @@ return true end + ## The original hybrid_typing_check_validation returns true, if + ## the first character of rawinput is a upper case and the + ## subsequent characters are lower cases. + if rawinput =~ /[A-Z]/ then + return false + end + ## edit_get_expansion_internal ignores the typing_mode. ## If the typing_mode is :raw, edit_get_expansion just returns rawinput. expansion = edit_get_expansion_internal()