aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-03-31 11:19:47 +0200
committerThomas White <taw@bitwiz.me.uk>2018-03-31 11:19:47 +0200
commit3c52f56e0dfe71f108d0837abb8f96b2568eff40 (patch)
treed9f6c13b461e91d08becf1566445eb0a2ef05e0d /src/sc_editor.h
parent518be303d916d16f4816e3b9ae41cd42b0d5e7fd (diff)
Ensure cursor is somewhere before adding slide
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r--src/sc_editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_editor.h b/src/sc_editor.h
index 6584aef..5fea0e1 100644
--- a/src/sc_editor.h
+++ b/src/sc_editor.h
@@ -189,6 +189,7 @@ extern void sc_editor_add_storycode(SCEditor *e, const char *sc);
extern void sc_editor_copy_selected_frame(SCEditor *e);
extern void sc_editor_delete_selected_frame(SCEditor *e);
extern void sc_editor_remove_cursor(SCEditor *e);
+extern void sc_editor_ensure_cursor(SCEditor *e);
extern SCBlock *split_paragraph_at_cursor(SCEditor *e);
extern void sc_editor_set_imagestore(SCEditor *e, ImageStore *is);