commit 336fa400551de8ffa59cdac89d9abae49b7bb7c6
parent 93318b972deeb8b098fe7a13a4b2c2ae750e5c71
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 17 Mar 2018 14:23:16 +0100
docs: clarify what the scrollup and scrolldown bindable functions do
Diffstat:
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -1188,10 +1188,12 @@ Goes one line up (in the editor or browser).
Goes one line down (in the editor or browser).
@item scrollup
-Scrolls up one line of text from the current position.
+Scrolls the viewport up one row (meaning that the text slides down)
+while keeping the cursor in the same text position, if possible.
@item scrolldown
-Scrolls down one line of text from the current position.
+Scrolls the viewport down one row (meaning that the text slides up)
+while keeping the cursor in the same text position, if possible.
@item prevword
Moves the cursor to the beginning of the previous word.
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -543,10 +543,12 @@ Goes one line up (in the editor or browser).
Goes one line down (in the editor or browser).
.TP
.B scrollup
-Scrolls up one line of text from the current position.
+Scrolls the viewport up one row (meaning that the text slides down)
+while keeping the cursor in the same text position, if possible.
.TP
.B scrolldown
-Scrolls down one line of text from the current position.
+Scrolls the viewport down one row (meaning that the text slides up)
+while keeping the cursor in the same text position, if possible.
.TP
.B prevword
Moves the cursor to the beginning of the previous word.