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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 4c0e58a..24b97c1 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -1792,6 +1792,12 @@ void sc_editor_set_scblock(SCEditor *e, SCBlock *scblocks)
}
+SCBlock *sc_editor_get_scblock(SCEditor *e)
+{
+ return e->scblocks;
+}
+
+
static void update_size_request(SCEditor *e)
{
gtk_widget_set_size_request(GTK_WIDGET(e), 0, e->h + 2.0*e->min_border);