aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-12 22:58:08 +0100
committerThomas White <taw@physics.org>2018-03-12 22:58:08 +0100
commita1b7013fda7329aa6caadeb0f2ecf28b4c332a05 (patch)
treeb0634879267466fad62c8c0cc23ee27d6ce804e6 /src/sc_editor.h
parentcc5038a7a2be909dd845e0e5e635cc6f0697e98f (diff)
Use edit_pos instead of cursor_{para,pos,trail}
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r--src/sc_editor.h4
1 files changed, 1 insertions, 3 deletions
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;