nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit a049c8364f4c7de685a49a9b76e9a24faf91040f
parent 1a76845aa58f5a8a731eff414cffe8b07beaecba
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 12 Jun 2005 23:53:28 +0000

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

Diffstat:
MChangeLog | 1+
Msrc/global.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 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 @@ -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),