in shortcut_init(), in the main shortcut list, move the "Refresh"
shortcut down to after the "Enter" shortcut, for consistency git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3394 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
9461dbd72d
commit
b9eb2be295
|
@ -70,6 +70,8 @@ CVS code -
|
||||||
shortcut_init()
|
shortcut_init()
|
||||||
- Change the cursor position display help text to use "display"
|
- Change the cursor position display help text to use "display"
|
||||||
instead of "show", for consistency. (DLR)
|
instead of "show", for consistency. (DLR)
|
||||||
|
- In the main shortcut list, move the "Refresh" shortcut down to
|
||||||
|
after the "Enter" shortcut, for consistency. (DLR)
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
parse_argument()
|
parse_argument()
|
||||||
- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
|
- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
|
||||||
|
|
12
src/global.c
12
src/global.c
|
@ -344,8 +344,6 @@ void shortcut_init(bool unjustify)
|
||||||
N_("Move to the beginning of the current line");
|
N_("Move to the beginning of the current line");
|
||||||
const char *nano_end_msg =
|
const char *nano_end_msg =
|
||||||
N_("Move to the end of the current line");
|
N_("Move to the end of the current line");
|
||||||
const char *nano_refresh_msg =
|
|
||||||
N_("Refresh (redraw) the current screen");
|
|
||||||
const char *nano_delete_msg =
|
const char *nano_delete_msg =
|
||||||
N_("Delete the character under the cursor");
|
N_("Delete the character under the cursor");
|
||||||
const char *nano_backspace_msg =
|
const char *nano_backspace_msg =
|
||||||
|
@ -354,6 +352,8 @@ void shortcut_init(bool unjustify)
|
||||||
N_("Insert a tab character at the cursor position");
|
N_("Insert a tab character at the cursor position");
|
||||||
const char *nano_enter_msg =
|
const char *nano_enter_msg =
|
||||||
N_("Insert a carriage return at the cursor position");
|
N_("Insert a carriage return at the cursor position");
|
||||||
|
const char *nano_refresh_msg =
|
||||||
|
N_("Refresh (redraw) the current screen");
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
const char *nano_nextword_msg = N_("Move forward one word");
|
const char *nano_nextword_msg = N_("Move forward one word");
|
||||||
const char *nano_prevword_msg = N_("Move backward one word");
|
const char *nano_prevword_msg = N_("Move backward one word");
|
||||||
|
@ -590,10 +590,6 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_end_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
IFHELP(nano_end_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
||||||
VIEW, do_end);
|
VIEW, do_end);
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg,
|
|
||||||
IFHELP(nano_refresh_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
|
||||||
VIEW, total_refresh);
|
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_DELETE_KEY, N_("Delete"),
|
sc_init_one(&main_list, NANO_DELETE_KEY, N_("Delete"),
|
||||||
IFHELP(nano_delete_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
IFHELP(nano_delete_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
||||||
NOVIEW, do_delete);
|
NOVIEW, do_delete);
|
||||||
|
@ -610,6 +606,10 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_enter_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
IFHELP(nano_enter_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
||||||
NOVIEW, do_enter);
|
NOVIEW, do_enter);
|
||||||
|
|
||||||
|
sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg,
|
||||||
|
IFHELP(nano_refresh_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
||||||
|
VIEW, total_refresh);
|
||||||
|
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
/* This entry is blank, in order to make the help text easier to
|
/* This entry is blank, in order to make the help text easier to
|
||||||
* read. */
|
* read. */
|
||||||
|
|
Loading…
Reference in New Issue