nano

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

commit f90b710c9b69901f65881c53be776c3637b417cf
parent bdaec3f934b758a00605059d1abace5b6fb83018
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 11 Sep 2022 17:48:05 +0200

tweaks: group the special keycodes for implanted strings together

This shows better that they are related.

Diffstat:
Msrc/definitions.h | 10+++-------
1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/definitions.h b/src/definitions.h @@ -214,16 +214,12 @@ #define SHIFT_DELETE 0x45D #define SHIFT_TAB 0x45F -/* A special keycode for when a string bind has been partially implanted. */ +/* Special keycodes for when a string bind has been partially implanted + * or has an unpaired opening brace, or when a function in a string bind + * needs execution or a specified function name is invalid. */ #define MORE_PLANTS 0x4EA - -/* A special keycode for when a string bind has an unpaired opening brace. */ #define MISSING_BRACE 0x4EB - -/* A special keycode for when a function in a string bind needs execution. */ #define PLANTED_COMMAND 0x4EC - -/* A special keycode for when a function name in a string bind is invalid. */ #define NO_SUCH_FUNCTION 0x4EF /* A special keycode for when <Tab> is pressed while the mark is on. */