test/data/example_alpha2/source.lt3 in livetext-0.8.7 vs test/data/example_alpha2/source.lt3 in livetext-0.8.8
- old
+ new
@@ -1,10 +1,10 @@
.def alpha
cols = _args.first
cols = "1" if cols == ""
cols = cols.to_i
raise "Columns must be 1-5" unless cols.between?(1,5)
- text = _body.join
+ text = _body_text
text.gsub!(/\n/, " ")
words = text.split.sort
words.each_slice(cols) do |row|
row.each {|w| _print '%-15s' % w }
_puts