mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 11:25:34 +00:00
Update web/src/engine/src/core-processor/coreKeyboardProcessor.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
parent
b0ea7e58c8
commit
e970cb7fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ export class CoreKeyboardProcessor extends EventEmitter<EventMap> 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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue