aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for multi-line cell formatting.Vincent Driessen2010-08-191-2/+46
| | | | | | | | | | | | | | | | | For example, when given the following table: [['Foo', 'Bar'], ['x', 'This is a long line\nthat is spread out\nover multiple lines']] It will render as: +=====+=====================+ | Foo | Bar | +=====+=====================+ | x | This is a long line | | | that is spread out | | | over multiple lines | +-----+---------------------+
* Fixed the last failing test (stupid line ending bug).Vincent Driessen2010-08-191-3/+6
|
* Add line partitioner.Vincent Driessen2010-08-191-5/+17
| | | | | | | | | | | | | | | | | | Is able to parse tables of the form: +=====+=====================+ | Foo | Bar | +=====+=====================+ | x | This is a long line | | | that is spread out | | | over multiple lines | +-----+---------------------+ Into: [['Foo', 'Bar'], ['x', 'This is a long line\nthat is spread out\nover multiple lines']] The draw_table function needs to be written still, though.
* Remove CreateTable().Vincent Driessen2010-08-191-2/+2
| | | | This implementation only needs ReformatTable(), also for creation.
* Add join_rows helper function (necessary for joining long lines later on).Vincent Driessen2010-08-191-1/+29
|
* Add helper to set the fake vim cursor in tests.Vincent Driessen2010-08-191-2/+4
|
* Add ability to remove all empty columns automatically.Vincent Driessen2010-08-192-4/+20
|
* Use fixtures to make the tests more readable.Vincent Driessen2010-08-192-22/+28
|
* Added ability to parse existing tables.Vincent Driessen2010-08-191-0/+32
|
* Deal with spaces at the end of the line.Vincent Driessen2010-08-191-0/+5
|
* Fix: vim.buffer -> vim.current.bufferVincent Driessen2010-08-191-7/+7
|
* Add main logic to creating RST tables.Vincent Driessen2010-08-183-5/+142
|
* Change test root.Vincent Driessen2010-08-181-0/+14