From a1b7013fda7329aa6caadeb0f2ecf28b4c332a05 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 12 Mar 2018 22:58:08 +0100 Subject: Use edit_pos instead of cursor_{para,pos,trail} --- src/sc_editor.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/sc_editor.h') diff --git a/src/sc_editor.h b/src/sc_editor.h index cef61d2..6584aef 100644 --- a/src/sc_editor.h +++ b/src/sc_editor.h @@ -121,9 +121,7 @@ struct _sceditor /* Location of the cursor */ struct frame *cursor_frame; - int cursor_para; /* paragraph index */ - size_t cursor_pos; /* byte offset into paragraph */ - int cursor_trail; + struct edit_pos cpos; /* Border surrounding actual slide within drawingarea */ double border_offs_x; -- cgit v1.2.3