aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index fa86706..f486598 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -453,6 +453,15 @@ void sc_editor_paste(SCEditor *e)
}
+void sc_editor_add_storycode(SCEditor *e, const char *sc)
+{
+ SCBlock *nf;
+ nf = sc_parse(sc);
+ sc_block_append_block(e->scblocks, nf);
+ full_rerender(e);
+}
+
+
void sc_editor_copy_selected_frame(SCEditor *e)
{
char *t;