Eliminate code duplication in LayoutRenderer #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LayoutRenderer.render() and renderToString() contain ~40 identical lines for column resolution, dynamic border expansion, width calculation, and row building.
Fix: render() should delegate to renderToString().