diff options
Diffstat (limited to 'core/Editor.zig')
| -rw-r--r-- | core/Editor.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Editor.zig b/core/Editor.zig index 5b1fc6e2..82c93640 100644 --- a/core/Editor.zig +++ b/core/Editor.zig @@ -45,6 +45,9 @@ multi_count: *usize, retired_edit: *?[]u8, /// The core the text's pane is in: what an edit reaches past its text with. p: if (lib) void else *Pardes, +/// A tab's width in cells (the core's `settings.tab`; the library's, the +/// default). +tab: u16, /// The library's: an edit failed (its allocator ran out) and the key is /// refused. failed: if (lib) *bool else void, @@ -64,6 +67,7 @@ pub fn of(p: *Pardes) Editor { .multi_count = &p.multi_count, .retired_edit = &p.retired_edit, .p = p, + .tab = p.settings.tab, .failed = {}, .syntax = {}, }; |
