muesli4 / table-layout

Layout data in grids and pretty tables. Provides a lot of tools to get the cell formatting right (positional alignment, alignment on specific characters and limiting of cell width)..
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

Create ElidableList, an instance of Cell which can be dropped atomically #34

Open Xitian9 opened 2 years ago

Xitian9 commented 2 years ago

This code has been in hledger in another form for a while. But it actually suits the framework of Cell very well, so I've translated it and hoved it over here in case others find it useful.

Note that this PR depends on both #29 and #33, which are both fairly small PRs that are much simpler. You can either merge those individually, in which case I'll rebase this and you can review it on its own, or you can merge them all here.

Xitian9 commented 2 years ago

Since this depends on #29 and #33, and will also have to be rebased after merging #37, I'll mark this as draft for now.