retext
retext copied to clipboard
Table Editor doesn't preserve whitespaces on column width change
Example table:
+------------------------------+----------+----------+
| heading 1 | heading 2| heading 3|
+==============================+==========+==========+
| .. config-property:: | line 1 | |
| :name: TrimRequiredFields | | |
| :type: int | line 2 | line 2 |
| | line 3 | |
| | line 4 | |
+------------------------------+----------+----------+
| .. config-property:: | line 1 | 200 |
| :name: MenuFrameWidth | line 2 | |
| :type: int | line 3 | |
+------------------------------+----------+----------+
When you decrease the content of the cell, then heading of the column loses its trailing space (the 1 removed in line 1 text):
+------------------------------+----------+-----------+
| heading 1 | heading 2| heading 3 |
+==============================+==========+===========+
| .. config-property:: | line | |
| :name: TrimRequiredFields | | |
| :type: int | line 2 | line 2 |
| | line 3 | |
| | line 4 | |
+------------------------------+----------+-----------+
| .. config-property:: | line 1 | 200 |
| :name: MenuFrameWidth | line 2 | |
| :type: int | line 3 | |
+------------------------------+----------+-----------+