From e970cb7fdfd29a6b4d226f247e7b3ad256eba470 Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Mon, 17 Nov 2025 19:28:22 +0100 Subject: [PATCH] Update web/src/engine/src/core-processor/coreKeyboardProcessor.ts Co-authored-by: Marc Durdin --- web/src/engine/src/core-processor/coreKeyboardProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/engine/src/core-processor/coreKeyboardProcessor.ts b/web/src/engine/src/core-processor/coreKeyboardProcessor.ts index 6eb060e793..f6a96825db 100644 --- a/web/src/engine/src/core-processor/coreKeyboardProcessor.ts +++ b/web/src/engine/src/core-processor/coreKeyboardProcessor.ts @@ -113,7 +113,7 @@ export class CoreKeyboardProcessor extends EventEmitter implements Key const deadKeys = textStore.deadkeys().dks.sort((a, b) => a.p != b.p ? a.p - b.p : a.o - b.o); const contextItems = new KM_Core.instance.km_core_context_items(); const caretPosition = textStore.getCaret(); - let textIndex = 0 + let textIndex = 0; for (const deadkey of deadkeys) { for (; textIndex < text.length && textIndex <= caretPosition; textIndex++) { const contextItem = new KM_Core.instance.km_core_context_item();