vkocubinsky / SublimeTableEditor

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

Empty columns removed after formatting one-row table #26

Closed idpaterson closed 11 years ago

idpaterson commented 11 years ago

This only affects one-row tables and is easier to show with an example. Considering Textile syntax, the following would specify a table with 3 empty columns

| | | |

However, after formatting (Tab, Enter, etc) this becomes

|   |
|   |

To further characterize the behavior, any cells to the right of the last cell with data are truncated as shown below.

| A | B | C | | | | |
| A | B | C |
|   |   |   |

This only applies to cells with data; cells with just Textile formatting are removed.

|_. A |_. B |_. C |_. |_. |_. |_. |
|_. A |_. B |_. C |
|     |     |     |

Finally, this only seems to affect one-row tables. The following two-row table is handled properly.

| | | |
| | | |
|   |   |   |
|   |   |   |
vkocubinsky commented 11 years ago

Thanks , it is followup of "intelligent_formatting". I will try to handle this case.

vkocubinsky commented 11 years ago

I fixed this in 1.4.0