From e09a6247579088e85411ab3773ae0c73de680af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20O=2E=20Cordero=20P=C3=A9rez?= Date: Sun, 22 Sep 2024 10:35:43 -0400 Subject: [PATCH] Fix call to document.keySearch with incorrect number of parameters --- src/prompter/Prompter.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompter/Prompter.qml b/src/prompter/Prompter.qml index 316859c8..b82dbc8f 100644 --- a/src/prompter/Prompter.qml +++ b/src/prompter/Prompter.qml @@ -1553,7 +1553,7 @@ Flickable { // } // Perform keyCode marker search. - let namedAnchorPosition = document.keySearch(event.key, document.cursorPosition, false, true); + let namedAnchorPosition = document.keySearch(event.key); if (namedAnchorPosition!==-1) prompter.goTo(namedAnchorPosition); //// Undo and redo key bindings