From c72fe77e5d3cf4ecb3b691a5fa582d0e96b5ec1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 31 Aug 2014 11:07:42 +0200 Subject: First part of a vi like frontend Still very incomplete --- editor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor.h') 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*); -- cgit v1.2.3