From fd40216803159858d03289e4c9bf37ec1f8332e7 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 13 Dec 2022 10:13:02 -0500 Subject: more future feature ideas --- main.c | 3 ++- unicode.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 027112d..1967db8 100644 --- a/main.c +++ b/main.c @@ -1,7 +1,8 @@ /* FUTURE FEATURES: -- configurable max buffer size +- configurable max buffer size + max view-only buffer size - better undo chaining (dechain on backspace?) +- allow multiple fonts (fonts directory?) - regenerate tags for completion too if there are no results - config variables - bind key to multiple commands diff --git a/unicode.h b/unicode.h index 211efd6..fb9810a 100644 --- a/unicode.h +++ b/unicode.h @@ -13,7 +13,7 @@ static bool unicode_is_start_of_code_point(u8 byte) { // *c will be filled with the next UTF-8 code point in `str`. `bytes` refers to the maximum // number of bytes that can be read from `str`. // Returns: -// 0 - if a NULL character was encountered +// 0 - if a null character was encountered // (size_t)-1 - on invalid UTF-8 // (size_t)-2 - on incomplete code point (str should be longer) // other - the number of bytes read from `str`. -- cgit v1.2.3