[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] Making ^Space and M-Space appear in help list
From: |
David Benbennick |
Subject: |
[Nano-devel] Making ^Space and M-Space appear in help list |
Date: |
Tue, 23 Apr 2002 07:07:04 -0400 |
So the attached patch makes the help text display ^Space and M-Space with
explanations. There are 5 new strings to translate.
Also, if you change nano.h:MAIN_VISIBLE from 12 to 30, you can see all of
the shortcuts and toggles on the main help list. I fixed a few small bugs
in winio.c:bottombars() to make this work.
Griping:
Because of how the "shortcut" structure was defined, there is this
complicated logic to determine whether a shortcut is a ^ or a M-. I guess
it works, but it is not particularly clean or extendable. For example,
nano.c:main() has to hard-code how it responds to the alternate
buffer-changing keys, NANO_OPENPREV_ALTKEY and NANO_OPENNEXT_ALTKEY. That
is since shortcuts cannot have multiple Alt-key triggers.
David
23-apr.06:33.patch
Description: Text document
pgpKeMpRRsoh1.pgp
Description: PGP signature
- [Nano-devel] Making ^Space and M-Space appear in help list,
David Benbennick <=