diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-07-10 18:14:40 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-07-10 18:26:05 +0200 |
| commit | c37fd32f2023a5d52b38b769e3d48d1f435fe2fd (patch) | |
| tree | 554bf0439b9db12226810e0c11f33dcd81661962 /vis-core.h | |
| parent | f9e2b884c15919757651db8b10c033a344a19e75 (diff) | |
| download | vis-c37fd32f2023a5d52b38b769e3d48d1f435fe2fd.tar.gz vis-c37fd32f2023a5d52b38b769e3d48d1f435fe2fd.tar.xz | |
vis: remove change list
This was completely broken since 71eab6d5d72145f17ab3d4c87945ac12176ae8e9
and even before never really worked as one would expect.
If anything it should be implemented like the jump list using marks.
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -153,19 +153,12 @@ struct File { /* shared state among windows displaying the same file */ File *next, *prev; }; -typedef struct { - time_t state; /* state of the text, used to invalidate change list */ - size_t index; /* #number of changes */ - size_t pos; /* where the current change occured */ -} ChangeList; - struct Win { Vis *vis; /* editor instance to which this window belongs to */ 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 */ MarkList jumplist; /* LRU jump management */ - ChangeList changelist; /* state for iterating through least recently changes */ Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */ Win *parent; /* window which was active when showing the command prompt */ Mode *parent_mode; /* mode which was active when showing the command prompt */ |
