From 33812921a2294637e4635d5b8426fc47f69a05a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 4 Sep 2014 22:22:39 +0200 Subject: Implement movement to a given line --- vis.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 68928e8..c06f30c 100644 --- a/vis.c +++ b/vis.c @@ -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; -- cgit v1.2.3