summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-07-31 23:51:02 -0400
committerpommicket <pommicket@gmail.com>2023-08-01 12:54:24 -0400
commit7c5ca21fdd5fb3448376e9491528487ddb5db076 (patch)
tree4ff33aa87182f48a0e001bf1532799191b518d53 /ted.h
parentf8b5606c42ba3ae35baf823c12865cc7aa68d260 (diff)
fix inconsistencies btwn xoff_to_index & rendering
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
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;