mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b52ae2e64
commit
287a34ae0d
856 changed files with 13989 additions and 13989 deletions
|
@ -23,15 +23,15 @@ cols = 20
|
|||
|
||||
lbl = TkLabel.new(:text=>"TkTable v2 Example")
|
||||
|
||||
table = Tk::TkTable.new(:rows=>rows, :cols=>cols, :variable=>ary,
|
||||
:width=>6, :height=>6,
|
||||
:titlerows=>1, :titlecols=>2,
|
||||
:roworigin=>-5, :colorigin=>-2,
|
||||
table = Tk::TkTable.new(:rows=>rows, :cols=>cols, :variable=>ary,
|
||||
:width=>6, :height=>6,
|
||||
:titlerows=>1, :titlecols=>2,
|
||||
:roworigin=>-5, :colorigin=>-2,
|
||||
:coltagcommand=>proc{|col|
|
||||
col = Integer(col)
|
||||
(col>0 && col%2 == 1)? 'OddCol': ''
|
||||
},
|
||||
:selectmode=>:extended, :flashmode=>true,
|
||||
},
|
||||
:selectmode=>:extended, :flashmode=>true,
|
||||
:rowstretch=>:unset, :colstretch=>:unset,
|
||||
:selecttitles=>false, :drawmode=>:single)
|
||||
|
||||
|
@ -67,8 +67,8 @@ table.tag_cell('logo', [1,2], [2,3], [4,1])
|
|||
table.tag_cell('dis', [2,1], [1,-1], [3,0])
|
||||
table.set_width([-2,8], [-1,9], [0, 12], [4, 14])
|
||||
|
||||
table.set([1,1], "multi-line\ntext\nmight be\ninteresting",
|
||||
[3,2], "more\nmulti-line\nplaying\n",
|
||||
table.set([1,1], "multi-line\ntext\nmight be\ninteresting",
|
||||
[3,2], "more\nmulti-line\nplaying\n",
|
||||
[2,2], "null\0byte")
|
||||
|
||||
# This is in the row span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue