aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index f141963..b6e52bc 100644
--- a/editor.h
+++ b/editor.h
@@ -84,6 +84,9 @@ bool editor_syntax_load(Editor*, Syntax *syntaxes, Color *colors);
void editor_syntax_unload(Editor*);
size_t editor_cursor_get(Editor*);
+void editor_scroll_to(Editor*, size_t pos);
+void editor_cursor_to(Editor*, size_t pos);
+Text *editor_text_get(Editor*);
// TODO void return type?
size_t editor_selection_start(Editor*);
size_t editor_selection_end(Editor*);