From 8ebf692bcd8ef5f949afb01e777e58ee607533c4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 21 Sep 2016 13:51:28 +0200 Subject: Update the size of flowed frames on insert --- src/sc_editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/sc_editor.c b/src/sc_editor.c index f00ad28..4b4a601 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -644,6 +644,7 @@ static void insert_text(char *t, SCEditor *e) wrap_paragraph(para, NULL, e->cursor_frame->w - e->cursor_frame->pad_l - e->cursor_frame->pad_r); + if ( e->flow ) update_size(e); cursor_moveh(e->cursor_frame, &e->cursor_para, &e->cursor_pos, &e->cursor_trail, +1); -- cgit v1.2.3