diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-13 15:47:30 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-13 15:47:30 -0500 |
commit | e9357bfd982b37672ed9c319956af32bf3db7856 (patch) | |
tree | ebc8d3d514725b9402f8316f92aafe2fe14fb22c /ted.h | |
parent | cdca3cc10dceda9580b2d87c2105c0654aa084fc (diff) |
view-only mode
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,6 +136,7 @@ typedef struct { bool modified; bool will_chain_edits; bool chaining_edits; // are we chaining undo events together? + bool view_only; float x1, y1, x2, y2; u32 nlines; u32 lines_capacity; @@ -248,6 +249,7 @@ typedef struct Ted { Node nodes[TED_MAX_NODES]; bool buffers_used[TED_MAX_BUFFERS]; TextBuffer buffers[TED_MAX_BUFFERS]; + char window_title[256]; char error[512]; char error_shown[512]; // error display in box on screen } Ted; |