From 7c5ca21fdd5fb3448376e9491528487ddb5db076 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 31 Jul 2023 23:51:02 -0400 Subject: fix inconsistencies btwn xoff_to_index & rendering --- ted.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ted.h') diff --git a/ted.h b/ted.h index 956ccef..f6c0e78 100644 --- a/ted.h +++ b/ted.h @@ -412,6 +412,8 @@ typedef struct { u32 nlines; /// capacity of \ref lines u32 lines_capacity; + /// cached tab width, updated every frame + u8 tab_width; /// which LSP this document is open in LSPID lsp_opened_in; -- cgit v1.2.3