diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-24 14:39:23 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-24 15:56:58 -0300 |
| commit | f4e295a0b61ae34e8abfd339eb1b6f658f8bf329 (patch) | |
| tree | f8081ca747f8e1f332a646e63b918326951c8384 /src/File.zig | |
| parent | 349bc6fa736edcebd789c5a39885d08f251713a1 (diff) | |
| download | pardes-f4e295a0b61ae34e8abfd339eb1b6f658f8bf329.tar.gz pardes-f4e295a0b61ae34e8abfd339eb1b6f658f8bf329.zip | |
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
Diffstat (limited to 'src/File.zig')
| -rw-r--r-- | src/File.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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`). |
