ruby-changes:41266
From: a_matsuda <ko1@a...>
Date: Sun, 27 Dec 2015 18:58:44 +0900 (JST)
Subject: [ruby-changes:41266] a_matsuda:r53338 (trunk): Method name typo in Tk samples
a_matsuda 2015-12-27 18:58:22 +0900 (Sun, 27 Dec 2015) New Revision: 53338 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53338 Log: Method name typo in Tk samples * ext/tk/sample/demos-en/ctext.rb: seleect_adjust => select_adjust * ext/tk/sample/demos-jp/ctext.rb: seleect_adjust => select_adjust Modified files: trunk/ext/tk/sample/demos-en/ctext.rb trunk/ext/tk/sample/demos-jp/ctext.rb Index: ext/tk/sample/demos-jp/ctext.rb =================================================================== --- ext/tk/sample/demos-jp/ctext.rb (revision 53337) +++ ext/tk/sample/demos-jp/ctext.rb (revision 53338) @@ -82,7 +82,7 @@ $ctag_text.withtag(TkcText.new($ctext_ca https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/demos-jp/ctext.rb#L82 $ctag_text.bind('1', proc{|x,y| textB1Press $ctext_canvas,x,y}, "%x %y") $ctag_text.bind('B1-Motion', proc{|x,y| textB1Move $ctext_canvas,x,y}, "%x %y") $ctag_text.bind('Shift-1', - proc{|x,y| $ctext_canvas.seleect_adjust 'current', "@#{x},#{y}"}, + proc{|x,y| $ctext_canvas.select_adjust 'current', "@#{x},#{y}"}, "%x %y") $ctag_text.bind('Shift-B1-Motion', proc{|x,y| textB1Move $ctext_canvas,x,y}, "%x %y") Index: ext/tk/sample/demos-en/ctext.rb =================================================================== --- ext/tk/sample/demos-en/ctext.rb (revision 53337) +++ ext/tk/sample/demos-en/ctext.rb (revision 53338) @@ -85,7 +85,7 @@ $ctag_text.withtag(TkcText.new($ctext_ca https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/demos-en/ctext.rb#L85 $ctag_text.bind('1', proc{|x,y| textB1Press $ctext_canvas,x,y}, "%x %y") $ctag_text.bind('B1-Motion', proc{|x,y| textB1Move $ctext_canvas,x,y}, "%x %y") $ctag_text.bind('Shift-1', - proc{|x,y| $ctext_canvas.seleect_adjust 'current', "@#{x},#{y}"}, + proc{|x,y| $ctext_canvas.select_adjust 'current', "@#{x},#{y}"}, "%x %y") $ctag_text.bind('Shift-B1-Motion', proc{|x,y| textB1Move $ctext_canvas,x,y}, "%x %y") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/