diff options
Diffstat (limited to 'src/undo.h')
-rw-r--r-- | src/undo.h | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -44,18 +44,15 @@ #define UNDO_ADD 'a' #define UNDO_DEL 'd' -#define HANDLE_DEPS 1 -#define IGNORE_DEPS 0 struct undo { struct undo * p_ant; struct ent * added; struct ent * removed; + struct ent * aux_ents; // add e_new to beginning of list struct undo_range_shift * range_shift; struct undo_cols_format * cols_format; struct undo * p_sig; - struct ent_ptr * allocations; - int alloc_size; int * row_hidded; int * row_showed; int * col_hidded; @@ -87,7 +84,7 @@ struct undo_cols_format { void create_undo_action(); void end_undo_action(); -void copy_to_undostruct (int ri, int ci, int rf, int cf, char type, short handle_deps, struct ent ** destination); +void copy_to_undostruct (int row_desde, int col_desde, int row_hasta, int col_hasta, char type); void save_undo_range_shift(int delta_rows, int delta_cols, int tlrow, int tlcol, int brrow, int brcol); void undo_hide_show(int row, int col, char type, int arg); void add_undo_col_format(int col, int type, int fwidth, int precision, int realfmt); @@ -101,5 +98,4 @@ void clear_from_current_pos(); int len_undo_list(); void free_undo_node(struct undo * ul); void dismiss_undo_item(struct undo * ul); -void copy_cell_to_undostruct (struct ent * new, struct ent * ori, char type); -void save_pointer_after_calloc(struct ent * e); +struct ent * add_undo_aux_ent(struct ent * e); |