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

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
No related merge requests found
Showing with 3 additions and 5 deletions
+3 -5
...@@ -181,6 +181,8 @@ CVS code - ...@@ -181,6 +181,8 @@ CVS code -
- Clarify the descriptions of the "Search" and "Replace" - Clarify the descriptions of the "Search" and "Replace"
shortcuts, and add spaces to the "Exit" shortcut's description shortcuts, and add spaces to the "Exit" shortcut's description
in multibuffer mode. (Benno Schulenberg) in multibuffer mode. (Benno Schulenberg)
- Remove the "Go To Line" shortcut in the replace shortcut list,
for compatibility with Pico. (DLR)
toggle_init() toggle_init()
- In the global toggle list, move the "Constant cursor position - In the global toggle list, move the "Constant cursor position
display" toggle up to after the "Use more space for editing" display" toggle up to after the "Use more space for editing"
......
...@@ -826,15 +826,11 @@ void shortcut_init(bool unjustify) ...@@ -826,15 +826,11 @@ void shortcut_init(bool unjustify)
IFHELP(nano_lastline_msg, FALSE), NANO_LASTLINE_ALTKEY, IFHELP(nano_lastline_msg, FALSE), NANO_LASTLINE_ALTKEY,
NANO_LASTLINE_FKEY, NANO_LASTLINE_ALTKEY2, VIEW, do_last_line); 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"), sc_init_one(&replace_list, NANO_TOOTHERSEARCH_KEY, N_("No Replace"),
IFHELP(nano_whereis_msg, FALSE), NANO_NO_KEY, NANO_REPLACE_FKEY, IFHELP(nano_whereis_msg, FALSE), NANO_NO_KEY, NANO_REPLACE_FKEY,
NANO_NO_KEY, VIEW, NULL); 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 #ifndef NANO_TINY
sc_init_one(&replace_list, NANO_NO_KEY, case_sens_msg, sc_init_one(&replace_list, NANO_NO_KEY, case_sens_msg,
IFHELP(nano_case_msg, FALSE), TOGGLE_CASE_KEY, NANO_NO_KEY, IFHELP(nano_case_msg, FALSE), TOGGLE_CASE_KEY, NANO_NO_KEY,
......
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