commit bc8bb7e942c75df9df3a1a36d0fa840173125d68
parent 08cd197bf13ef5686c9fb090b278ed1db3b11548
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 12 Sep 2016 12:49:46 +0200
screen: keep the help items nicely lined up also in the tiny version
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/global.c b/src/global.c
@@ -805,10 +805,10 @@ void shortcut_init(void)
add_to_funcs(do_last_line, MMAIN|MHELP|MWHEREIS|MREPLACE|MREPLACEWITH|MGOTOLINE,
N_("Last Line"), IFSCHELP(nano_lastline_msg), BLANKAFTER, VIEW);
+#ifndef NANO_TINY
add_to_funcs(do_research, MMAIN,
whereis_next_tag, IFSCHELP(nano_whereis_next_msg), TOGETHER, VIEW);
-#ifndef NANO_TINY
add_to_funcs(do_find_bracket, MMAIN,
N_("To Bracket"), IFSCHELP(nano_bracket_msg), TOGETHER, VIEW);
@@ -888,6 +888,12 @@ void shortcut_init(void)
gotoline_tag, IFSCHELP(nano_gotoline_msg), BLANKAFTER, VIEW);
#endif
+#ifdef NANO_TINY
+ /* Place this one here only in the tiny version; otherwise further up. */
+ add_to_funcs(do_research, MMAIN,
+ whereis_next_tag, IFSCHELP(nano_whereis_next_msg), TOGETHER, VIEW);
+#endif
+
add_to_funcs(do_verbatim_input, MMAIN,
N_("Verbatim"), IFSCHELP(nano_verbatim_msg), TOGETHER, NOVIEW);