mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c58327fbc
commit
2cf20887af
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ $ctag_text.withtag(TkcText.new($ctext_canvas, 250, 200, ctag_text_param))
|
|||
$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")
|
||||
|
|
|
@ -82,7 +82,7 @@ $ctag_text.withtag(TkcText.new($ctext_canvas, 250, 200, ctag_text_param))
|
|||
$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")
|
||||
|
|
Loading…
Add table
Reference in a new issue