diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:22:39 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:22:39 +0200 |
| commit | 33812921a2294637e4635d5b8426fc47f69a05a5 (patch) | |
| tree | fea0b77a032b80b0211fb9a7110ee01ef2aa3955 /vis.c | |
| parent | 3bfd0792b7116eacd5f9c46070b6fee236d4b956 (diff) | |
| download | vis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.gz vis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.xz | |
Implement movement to a given line
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -42,12 +42,6 @@ void vis_statusbar_set(Vis *vis, vis_statusbar_t statusbar) { vis->statusbar = statusbar; } -size_t vis_line_goto(Vis *vis, size_t lineno) { - size_t pos = text_pos_by_lineno(vis->win->text, lineno); - window_cursor_to(vis->win->win, pos); - return pos; -} - static void vis_search_forward(Vis *vis, Regex *regex) { VisWin *win = vis->win; int pos = window_cursor_get(win->win) + 1; |
