diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-08-31 11:07:42 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-08-31 11:07:42 +0200 |
| commit | c72fe77e5d3cf4ecb3b691a5fa582d0e96b5ec1e (patch) | |
| tree | 6b5487c3384e8c35c5b531fffca1f2b2bacc193d /editor.h | |
| parent | fbaeffb469d2fd6833a1301255f1ac73c7226a83 (diff) | |
| download | vis-c72fe77e5d3cf4ecb3b691a5fa582d0e96b5ec1e.tar.gz vis-c72fe77e5d3cf4ecb3b691a5fa582d0e96b5ec1e.tar.xz | |
First part of a vi like frontend
Still very incomplete
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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*); |
