version 1.111, 2009/06/04 23:39:37 |
version 1.112, 2009/06/05 18:02:06 |
|
|
/* |
/* |
* Direction of insert into kill ring |
* Direction of insert into kill ring |
*/ |
*/ |
#define KNONE 0 |
#define KNONE 0x00 |
#define KFORW 1 |
#define KFORW 0x01 /* forward insert into kill ring */ |
#define KBACK 2 |
#define KBACK 0x02 /* Backwards insert into kill ring */ |
|
#define KREG 0x04 /* This is a region-based kill */ |
|
|
/* |
/* |
* This structure holds the starting position |
* This structure holds the starting position |
|
|
INSERT = 1, |
INSERT = 1, |
DELETE, |
DELETE, |
BOUNDARY, |
BOUNDARY, |
MODIFIED |
MODIFIED, |
|
DELREG |
} type; |
} type; |
struct region region; |
struct region region; |
int pos; |
int pos; |
|
|
int undo_add_boundary(int, int); |
int undo_add_boundary(int, int); |
void undo_add_modified(void); |
void undo_add_modified(void); |
int undo_add_insert(struct line *, int, int); |
int undo_add_insert(struct line *, int, int); |
int undo_add_delete(struct line *, int, int); |
int undo_add_delete(struct line *, int, int, int); |
int undo_boundary_enable(int, int); |
int undo_boundary_enable(int, int); |
int undo_add_change(struct line *, int, int); |
int undo_add_change(struct line *, int, int); |
int undo(int, int); |
int undo(int, int); |