diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-07-31 11:49:06 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-07-31 11:49:06 +0100 |
commit | 7f6e62f77bca73e49dfa260ff7ac75770d1363c8 (patch) | |
tree | 849cf803a7e804ab879d41e161b69daf22987090 /gramscii.h | |
parent | f3100ddd486d6f39b0c97c9c492bb6020bf3caf1 (diff) |
support line-by-line undo in text mode
Diffstat (limited to 'gramscii.h')
-rw-r--r-- | gramscii.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -149,6 +149,8 @@ void get_arrow(FILE *fc); void erase(FILE *fc); void visual_box(FILE *fc); void paste(); +void undo_change(); +void redo_change(); /** file-related functions **/ void write_file(FILE *fc); @@ -165,7 +167,6 @@ void ensure_num_lines(lineset_t *ls, int n); void yank_region(int x1, int y1, int x2, int y2); void paste_region(int x1, int y1); void copy_lines_to_ring(int y1, int y2, int which); -void undo_change(); -void redo_change(); +void invalidate_undo(); #endif |