From 5b7d419b1d05fbc1f2bf4df1a19ed625c714d89a Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Wed, 22 Mar 2017 14:18:29 +0800 Subject: [PATCH] Add comments clarifying $overlap and $target --- basic.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/basic.h b/basic.h index a3aab55..205cbe9 100644 --- a/basic.h +++ b/basic.h @@ -6,7 +6,7 @@ #include "retcode.h" /* -** $overlap is the size of the line overlap when doing page forw/back +** $overlap is the size of the line overlap when kbd calls page forw/back ** if 0, page will move by 2/3 of the window size (1/3 page overlap) ** default to 0 */ @@ -14,7 +14,8 @@ extern int overlap ; /* line overlap in forw/back page */ -extern int curgoal ; /* Goal for C-P, C-N */ +/* $target (== curgoal) is the column target when doing line move */ +extern int curgoal ; /* Goal for C-P previous-line, C-N next-line */ boolean gotobol( int f, int n) ;