From ffa123e5ba835bb68b063b017df144fb7f5d05ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 18 Mar 2018 16:15:53 +0100 Subject: Disallow insertion and deletion unless scblock==rscblock --- src/frame.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/frame.h') diff --git a/src/frame.h b/src/frame.h index 2548d6d..8eae26a 100644 --- a/src/frame.h +++ b/src/frame.h @@ -164,6 +164,8 @@ extern int positions_equal(struct edit_pos a, struct edit_pos b); extern int get_para_highlight(struct frame *fr, int cursor_para, double *cx, double *cy, double *cw, double *ch); +extern int position_editable(struct frame *fr, struct edit_pos cp); + extern int get_cursor_pos(struct frame *fr, int cursor_para, int cursor_pos, double *cx, double *cy, double *ch); -- cgit v1.2.3