From f4e295a0b61ae34e8abfd339eb1b6f658f8bf329 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 14:39:23 -0300 Subject: Tables 4/4: a delimiter cell's colons kept at its edges; a wide table shown as source in a wrapping pane, tested; docs/next-tables.md, the design as built, the numbers and the open questions --- src/File.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/File.zig') diff --git a/src/File.zig b/src/File.zig index 5db04443..cf44c69a 100644 --- a/src/File.zig +++ b/src/File.zig @@ -588,7 +588,7 @@ test "indexed source rows match uncached scans across content changes" { /// through here, so the drawn row, the caret and a click cannot disagree. pub fn rowPads(pane: *const Pane, row: i32, out: *[Tables.max_pads]Tables.Pad) []const Tables.Pad { const table = rowTable(pane, row) orelse return &.{}; - return pane.file.?.tables.padsOf(table, sourceLine(pane, row), out); + return pane.file.?.tables.padsOf(table, @intCast(row), sourceLine(pane, row), out); } /// The table `row` is laid out in, in this pane (`rowPads`). -- cgit v1.3