From a049c8364f4c7de685a49a9b76e9a24faf91040f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 12 Jun 2005 23:53:28 +0000 Subject: [PATCH] in shortcut_init(), allow the mark to be used in view mode, as Pico does git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2637 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/global.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7419d020..79194365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -114,6 +114,7 @@ CVS code - the help browser shortcut list, for consistency. (DLR) - Remove unnecessary "Refresh" placeholder in the file browser shortcut list. (DLR) + - Allow the mark to be used in view mode, as Pico does. (DLR) thanks_for_all_the_fish() - Remove free_toggles() and move its code here verbatim, as it's only called here anyway. (David Benbennick) diff --git a/src/global.c b/src/global.c index 4512e10f..d1fede03 100644 --- a/src/global.c +++ b/src/global.c @@ -512,7 +512,7 @@ void shortcut_init(bool unjustify) #ifndef NANO_SMALL sc_init_one(&main_list, NANO_MARK_KEY, N_("Mark Text"), IFHELP(nano_mark_msg, NANO_MARK_ALTKEY), NANO_MARK_FKEY, - NANO_NO_KEY, NOVIEW, do_mark); + NANO_NO_KEY, VIEW, do_mark); sc_init_one(&main_list, NANO_NO_KEY, N_("Where Is Next"), IFHELP(nano_whereis_next_msg, NANO_WHEREIS_NEXT_KEY), -- 2.39.5