From 06696ec0a2c7486a35550bfb9a6f6caba439d0a2 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 24 Jan 2022 15:53:11 +0100 Subject: Fix node to cell mapping --- src/render/renderdocument.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/renderdocument.nim') diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim index 2ff46488..6765853b 100644 --- a/src/render/renderdocument.nim +++ b/src/render/renderdocument.nim @@ -48,7 +48,7 @@ proc setRowWord(lines: var FlexibleGrid, word: InlineWord, x, y: int, term: Term let oformats = lines[y].formats.subformats(i) lines[y].setLen(i) - lines.addFormat(y, i, word.formatFromWord(), word.nodes) + lines.addFormat(y, i, word.formatFromWord(), word.node) var nx = cx if nx < x: -- cgit 1.4.1-2-gfad0