+2014-05-27 Benno Schulenberg <bensberg@justemail.net>
+ * src/global.c (shortcut_init): Improve the arrangement of help items
+ under certain compilation conditions.
+
2014-05-26 Benno Schulenberg <bensberg@justemail.net>
* src/cut.c (cut_line): Fix compilation with --enable-tiny.
* src/text.c (do_linter): Avoid a warning with --enable-tiny.
add_to_funcs(do_cursorpos_void, MMAIN, N_("Cur Pos"),
IFSCHELP(nano_cursorpos_msg), FALSE, VIEW);
+#if !defined(NANO_TINY) || defined(DISABLE_COLOR)
+ /* Conditionally placing this one here or further on, to keep the
+ * help items nicely paired in most conditions. */
add_to_funcs(do_gotolinecolumn_void, MMAIN|MWHEREIS,
gotoline_tag, IFSCHELP(nano_gotoline_msg), TRUE, VIEW);
+#endif
add_to_funcs(do_page_up, MMAIN|MHELP|MBROWSER,
N_("Prev Page"), IFSCHELP(nano_prevpage_msg), FALSE, VIEW);
IFSCHELP(nano_nextfile_msg), TRUE, VIEW);
#endif
+#if defined(NANO_TINY) && !defined(DISABLE_COLOR)
+ add_to_funcs(do_gotolinecolumn_void, MMAIN|MWHEREIS,
+ gotoline_tag, IFSCHELP(nano_gotoline_msg), TRUE, VIEW);
+#endif
+
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim"),
IFSCHELP(nano_verbatim_msg), FALSE, NOVIEW);