vkocubinsky / SublimeTableEditor

This package is no more supported. I moved to vim.
Other
494 stars 67 forks source link

Move table manipulation functionality from table_plugin to tablelib #20

Closed vkocubinsky closed 11 years ago

vkocubinsky commented 11 years ago

Currently table_plugin is responsible for delete column, swap columns, delete row, swap rows, insert separator, insert double separator, join lines, split lines.

This issue is about move this functionality into tablelib for more clear component responsibility, table_plugin primary responsible for get command from user and delegate command to tablelib

table = tablelib.TextTable(text, self.syntax)
table.swap_columns(1,2)
text = table.render()
vkocubinsky commented 11 years ago

Done