aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-07 20:21:09 +0200
committerThomas White <taw@physics.org>2017-07-07 20:21:09 +0200
commit44e6b6e6dea6764599802ca76afd96e98517a9ae (patch)
tree8e03d51b8d7348c8a113efc0a22473ab44066cae /src/frame.h
parent4565a12c30f1eb7c5d6e18615a66378d6eb890d0 (diff)
WIP
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index 0386a51..8e2ffe3 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -181,7 +181,9 @@ extern void insert_text_in_paragraph(Paragraph *para, size_t offs,
extern void delete_text_from_frame(struct frame *fr, struct edit_pos p1, struct edit_pos p2,
double wrap_w);
-extern void delete_text_in_paragraph(Paragraph *para, size_t offs1, ssize_t offs2);
+extern size_t delete_text_in_paragraph(Paragraph *para, size_t offs0, ssize_t offs2);
+
+extern void fix_scblock_offsets(struct frame *fr, struct edit_pos pos, size_t del);
extern SCBlock *split_paragraph(struct frame *fr, int pn, size_t pos,
PangoContext *pc);