Commit ae9eea76 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

use more intuitive descriptions for the scrolling keys

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent e7485145
Showing with 12 additions and 12 deletions
+12 -12
......@@ -288,9 +288,9 @@ void shortcut_init(bool unjustify)
const char *nano_prevword_msg = N_("Move backward one word");
const char *nano_wordcount_msg =
N_("Count the number of words, lines, and characters");
const char *nano_scrollprev_msg =
const char *nano_scrollup_msg =
N_("Scroll up one line without scrolling the cursor");
const char *nano_scrollnext_msg =
const char *nano_scrolldown_msg =
N_("Scroll down one line without scrolling the cursor");
#endif
#ifndef DISABLE_JUSTIFY
......@@ -545,13 +545,13 @@ void shortcut_init(bool unjustify)
IFHELP(nano_wordcount_msg, NANO_WORDCOUNT_KEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, do_wordlinechar_count);
sc_init_one(&main_list, NANO_NO_KEY, N_("ScrollPrev"),
IFHELP(nano_scrollprev_msg, NANO_SCROLLPREV_KEY), NANO_NO_KEY,
NANO_SCROLLPREV_ALTKEY, VIEW, do_scroll_up);
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Up"),
IFHELP(nano_scrollup_msg, NANO_SCROLLUP_KEY), NANO_NO_KEY,
NANO_SCROLLUP_ALTKEY, VIEW, do_scroll_up);
sc_init_one(&main_list, NANO_NO_KEY, N_("ScrollNext"),
IFHELP(nano_scrollnext_msg, NANO_SCROLLNEXT_KEY), NANO_NO_KEY,
NANO_SCROLLNEXT_ALTKEY, VIEW, do_scroll_down);
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Down"),
IFHELP(nano_scrolldown_msg, NANO_SCROLLDOWN_KEY), NANO_NO_KEY,
NANO_SCROLLDOWN_ALTKEY, VIEW, do_scroll_down);
#endif
#ifndef DISABLE_JUSTIFY
......
......@@ -478,10 +478,10 @@ typedef struct rcoption {
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
#define NANO_WORDCOUNT_KEY NANO_ALT_D
#define NANO_SCROLLPREV_KEY NANO_ALT_MINUS
#define NANO_SCROLLNEXT_KEY NANO_ALT_PLUS
#define NANO_SCROLLPREV_ALTKEY NANO_ALT_USCORE
#define NANO_SCROLLNEXT_ALTKEY NANO_ALT_EQUALS
#define NANO_SCROLLUP_KEY NANO_ALT_MINUS
#define NANO_SCROLLDOWN_KEY NANO_ALT_PLUS
#define NANO_SCROLLUP_ALTKEY NANO_ALT_USCORE
#define NANO_SCROLLDOWN_ALTKEY NANO_ALT_EQUALS
#define NANO_CUTTILLEND_KEY NANO_CONTROL_X
#define NANO_CUTTILLEND_ALTKEY NANO_ALT_T
#define NANO_PARABEGIN_KEY NANO_CONTROL_W
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment