use more intuitive descriptions for the scrolling keys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e74851451d
commit
ae9eea7634
16
src/global.c
16
src/global.c
|
@ -288,9 +288,9 @@ void shortcut_init(bool unjustify)
|
||||||
const char *nano_prevword_msg = N_("Move backward one word");
|
const char *nano_prevword_msg = N_("Move backward one word");
|
||||||
const char *nano_wordcount_msg =
|
const char *nano_wordcount_msg =
|
||||||
N_("Count the number of words, lines, and characters");
|
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");
|
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");
|
N_("Scroll down one line without scrolling the cursor");
|
||||||
#endif
|
#endif
|
||||||
#ifndef DISABLE_JUSTIFY
|
#ifndef DISABLE_JUSTIFY
|
||||||
|
@ -545,13 +545,13 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_wordcount_msg, NANO_WORDCOUNT_KEY), NANO_NO_KEY,
|
IFHELP(nano_wordcount_msg, NANO_WORDCOUNT_KEY), NANO_NO_KEY,
|
||||||
NANO_NO_KEY, VIEW, do_wordlinechar_count);
|
NANO_NO_KEY, VIEW, do_wordlinechar_count);
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_NO_KEY, N_("ScrollPrev"),
|
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Up"),
|
||||||
IFHELP(nano_scrollprev_msg, NANO_SCROLLPREV_KEY), NANO_NO_KEY,
|
IFHELP(nano_scrollup_msg, NANO_SCROLLUP_KEY), NANO_NO_KEY,
|
||||||
NANO_SCROLLPREV_ALTKEY, VIEW, do_scroll_up);
|
NANO_SCROLLUP_ALTKEY, VIEW, do_scroll_up);
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_NO_KEY, N_("ScrollNext"),
|
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Down"),
|
||||||
IFHELP(nano_scrollnext_msg, NANO_SCROLLNEXT_KEY), NANO_NO_KEY,
|
IFHELP(nano_scrolldown_msg, NANO_SCROLLDOWN_KEY), NANO_NO_KEY,
|
||||||
NANO_SCROLLNEXT_ALTKEY, VIEW, do_scroll_down);
|
NANO_SCROLLDOWN_ALTKEY, VIEW, do_scroll_down);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_JUSTIFY
|
#ifndef DISABLE_JUSTIFY
|
||||||
|
|
|
@ -478,10 +478,10 @@ typedef struct rcoption {
|
||||||
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
|
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
|
||||||
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
|
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
|
||||||
#define NANO_WORDCOUNT_KEY NANO_ALT_D
|
#define NANO_WORDCOUNT_KEY NANO_ALT_D
|
||||||
#define NANO_SCROLLPREV_KEY NANO_ALT_MINUS
|
#define NANO_SCROLLUP_KEY NANO_ALT_MINUS
|
||||||
#define NANO_SCROLLNEXT_KEY NANO_ALT_PLUS
|
#define NANO_SCROLLDOWN_KEY NANO_ALT_PLUS
|
||||||
#define NANO_SCROLLPREV_ALTKEY NANO_ALT_USCORE
|
#define NANO_SCROLLUP_ALTKEY NANO_ALT_USCORE
|
||||||
#define NANO_SCROLLNEXT_ALTKEY NANO_ALT_EQUALS
|
#define NANO_SCROLLDOWN_ALTKEY NANO_ALT_EQUALS
|
||||||
#define NANO_CUTTILLEND_KEY NANO_CONTROL_X
|
#define NANO_CUTTILLEND_KEY NANO_CONTROL_X
|
||||||
#define NANO_CUTTILLEND_ALTKEY NANO_ALT_T
|
#define NANO_CUTTILLEND_ALTKEY NANO_ALT_T
|
||||||
#define NANO_PARABEGIN_KEY NANO_CONTROL_W
|
#define NANO_PARABEGIN_KEY NANO_CONTROL_W
|
||||||
|
|
Loading…
Reference in New Issue