diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 11:27:08 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 20:21:46 -0600 |
| commit | 7554ecd77efc29601b7b44deca602724917ce019 (patch) | |
| tree | 9e8e7d0ca7f0b173f98c224a25f6f626dcece8ac /vis-core.h | |
| parent | 7e85064ac77ea43e84d88eb910b0adb6f07d5d12 (diff) | |
| download | vis-7554ecd77efc29601b7b44deca602724917ce019.tar.gz vis-7554ecd77efc29601b7b44deca602724917ce019.tar.xz | |
remove some view pointer chasing
Same as previous commit each window only has a single View. No
need for it to be stored elsewhere in memory.
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ struct Win { Vis *vis; /* editor instance to which this window belongs */ UiWin *ui; /* ui object handling visual appearance of this window */ File *file; /* file being displayed in this window */ - View *view; /* currently displayed part of underlying text */ + View view; /* currently displayed part of underlying text */ bool expandtab; /* whether typed tabs should be converted to spaces in this window*/ MarkList jumplist; /* LRU jump management */ Array saved_selections; /* register used to store selections */ |
