lib/clevic/table_view_paste.rb in clevic-0.13.0.b6 vs lib/clevic/table_view_paste.rb in clevic-0.13.0.b9
- old
+ new
@@ -93,13 +93,13 @@
def paste_text
text = clipboard.text
case text
when /\t/
- paste_array( FasterCSV.parse( text, :col_sep => "\t" ) )
+ paste_array( CSV.parse( text, :col_sep => "\t" ) )
# assume multi-line text, or text with commas, is csv
when /[,\n]/
- paste_array( FasterCSV.parse( text, :col_sep => ',' ) )
+ paste_array( CSV.parse( text, :col_sep => ',' ) )
else
paste_value_to_selection( text )
end
end