aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-30 04:15:36 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-09 18:22:21 +0200
commit7507ad3e1816f3bc9004dceb39bb303804287438 (patch)
tree3c4b2746b56a0538564dbf0416745012b51228fa /src/core-commands.c
parent90bad24f96deeaaa2255f0ad89ece21d5397b78b (diff)
downloadsciteco-7507ad3e1816f3bc9004dceb39bb303804287438.tar.gz
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.
Diffstat (limited to 'src/core-commands.c')
-rw-r--r--src/core-commands.c3
1 files changed, 3 insertions, 0 deletions
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 <code> or Unicode codepoint
* depending on Scintilla's encoding of the current
* buffer.
+ * Invalid Unicode byte sequences are reported as
+ * -1 or -2.
+ *
* - If <n> is 0, return the <code> of the character
* pointed to by dot.
* - If <n> is 1, return the <code> of the character