From cad4ad2c4e9de198ca78958b4db79886ffb81c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 13 Jan 2015 19:07:52 +0100 Subject: Rename window_line_* functions --- vis.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index aa37cb8..8845209 100644 --- a/vis.c +++ b/vis.c @@ -281,11 +281,11 @@ static size_t window_lines_middle(const Arg *arg); static size_t window_lines_bottom(const Arg *arg); static Movement moves[] = { - [MOVE_SCREEN_LINE_UP] = { .win = window_line_up }, - [MOVE_SCREEN_LINE_DOWN] = { .win = window_line_down }, - [MOVE_SCREEN_LINE_BEGIN] = { .win = window_line_begin, .type = CHARWISE }, - [MOVE_SCREEN_LINE_MIDDLE] = { .win = window_line_middle, .type = CHARWISE }, - [MOVE_SCREEN_LINE_END] = { .win = window_line_end, .type = CHARWISE|INCLUSIVE }, + [MOVE_SCREEN_LINE_UP] = { .win = window_screenline_up }, + [MOVE_SCREEN_LINE_DOWN] = { .win = window_screenline_down }, + [MOVE_SCREEN_LINE_BEGIN] = { .win = window_screenline_begin, .type = CHARWISE }, + [MOVE_SCREEN_LINE_MIDDLE] = { .win = window_screenline_middle, .type = CHARWISE }, + [MOVE_SCREEN_LINE_END] = { .win = window_screenline_end, .type = CHARWISE|INCLUSIVE }, [MOVE_LINE_PREV] = { .txt = text_line_prev, .type = LINEWISE }, [MOVE_LINE_BEGIN] = { .txt = text_line_begin, .type = LINEWISE }, [MOVE_LINE_START] = { .txt = text_line_start, .type = LINEWISE }, @@ -789,15 +789,15 @@ static size_t column(const Arg *arg) { } static size_t window_lines_top(const Arg *arg) { - return window_line_goto(vis->win->win, action.count); + return window_screenline_goto(vis->win->win, action.count); } static size_t window_lines_middle(const Arg *arg) { - return window_line_goto(vis->win->win, vis->win->height / 2); + return window_screenline_goto(vis->win->win, vis->win->height / 2); } static size_t window_lines_bottom(const Arg *arg) { - return window_line_goto(vis->win->win, vis->win->height - action.count); + return window_screenline_goto(vis->win->win, vis->win->height - action.count); } /** key bindings functions of type: void (*func)(const Arg*) */ -- cgit v1.2.3