in shortcut_init(), remove the "Go To Line" shortcut in the replace

shortcut list, for compatibility with Pico


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-05-25 04:02:50 +00:00
parent c7251fa4fc
commit e328ae9423
2 changed files with 3 additions and 5 deletions

View File

@ -181,6 +181,8 @@ CVS code -
- Clarify the descriptions of the "Search" and "Replace"
shortcuts, and add spaces to the "Exit" shortcut's description
in multibuffer mode. (Benno Schulenberg)
- Remove the "Go To Line" shortcut in the replace shortcut list,
for compatibility with Pico. (DLR)
toggle_init()
- In the global toggle list, move the "Constant cursor position
display" toggle up to after the "Use more space for editing"

View File

@ -826,15 +826,11 @@ void shortcut_init(bool unjustify)
IFHELP(nano_lastline_msg, FALSE), NANO_LASTLINE_ALTKEY,
NANO_LASTLINE_FKEY, NANO_LASTLINE_ALTKEY2, VIEW, do_last_line);
/* TRANSLATORS: Try to keep this at most 10 characters. */
/* TRANSLATORS: Try to keep this at most 12 characters. */
sc_init_one(&replace_list, NANO_TOOTHERSEARCH_KEY, N_("No Replace"),
IFHELP(nano_whereis_msg, FALSE), NANO_NO_KEY, NANO_REPLACE_FKEY,
NANO_NO_KEY, VIEW, NULL);
sc_init_one(&replace_list, NANO_TOGOTOLINE_KEY, go_to_line_msg,
IFHELP(nano_gotoline_msg, FALSE), NANO_NO_KEY,
NANO_GOTOLINE_FKEY, NANO_NO_KEY, VIEW, NULL);
#ifndef NANO_TINY
sc_init_one(&replace_list, NANO_NO_KEY, case_sens_msg,
IFHELP(nano_case_msg, FALSE), TOGGLE_CASE_KEY, NANO_NO_KEY,