From 7507ad3e1816f3bc9004dceb39bb303804287438 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 30 Aug 2024 04:15:36 +0200 Subject: Unicode support for the Q-Register commands (refs #5) * this required adding several Q-Register vtable methods * it should still be investigated whether the repeated calling of SCI_ALLOCATELINECHARACTERINDEX causes any overhead. --- src/core-commands.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core-commands.c') diff --git a/src/core-commands.c b/src/core-commands.c index 7e6dbfa..9281d0d 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -1010,6 +1010,9 @@ teco_state_start_delete_chars(teco_machine_main_t *ctx, GError **error) * This can be an ASCII or Unicode codepoint * depending on Scintilla's encoding of the current * buffer. + * Invalid Unicode byte sequences are reported as + * -1 or -2. + * * - If is 0, return the of the character * pointed to by dot. * - If is 1, return the of the character -- cgit v1.2.3