diff options
Diffstat (limited to 'gramscii.h')
-rw-r--r-- | gramscii.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -90,6 +90,11 @@ typedef struct{ line_t *l; } lineset_t; +typedef struct{ + int x; + int y; +} pos_t; + /** MACROS **/ @@ -105,6 +110,9 @@ lineset_t screen; /* what is visualised */ lineset_t cutbuf; /* cut/paste buffer */ lineset_t *undo; /* undo list */ +pos_t marks[26]; /* position marks */ +char mark_map[26]; /* marks map */ + int undo_sz;/* allocated size of undo list*/ int undo_cur;/* undo position */ int undo_lst;/* last valid undo position */ @@ -175,6 +183,7 @@ void crop_to_nonblank(); void crop_to_rect(); void erase_blank_lines(int y1, int y2); int _isblank(int c); +void mark_pos(FILE *fc); /**/ /** drawing-related functions **/ |