diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-29 22:42:58 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-18 12:53:13 +0100 |
| commit | fb7f934204035b1e02c8394eee5c8b1df5e476ec (patch) | |
| tree | 0a42b20835fb7fe3cd31e28cb4c26d393a977f81 /vis.h | |
| parent | 9997739b96a7fc142a18cb72cb7589bd4b4d61b0 (diff) | |
| download | vis-fb7f934204035b1e02c8394eee5c8b1df5e476ec.tar.gz vis-fb7f934204035b1e02c8394eee5c8b1df5e476ec.tar.xz | |
vis: do not take undo snaphots while replaying a macro
The vis_keys_feed function is currently unaffected by this change.
It still creates individual undo points. While this is probably
undesirable from an API point of view, it keeps the lua based tests
that use undo points working.
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -120,6 +120,9 @@ bool vis_window_syntax_set(Win*, const char *name); int vis_window_width_get(const Win*); int vis_window_height_get(const Win*); +/* take an undo snaphost to which we can later revert to */ +void vis_file_snapshot(Vis*, File*); + /* display a user prompt with a certain title and default text */ void vis_prompt_show(Vis*, const char *title); |
