From cdbb0f7462330876e8baa60bcdc70aa04c6b53ce Mon Sep 17 00:00:00 2001 From: DetectiveBaldi <86160807+DetectiveBaldi@users.noreply.github.com> Date: Sat, 20 Jul 2024 13:36:52 -0400 Subject: [PATCH 1/2] Update CompletionList.hx --- flixel/system/debug/completion/CompletionList.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/system/debug/completion/CompletionList.hx b/flixel/system/debug/completion/CompletionList.hx index 7d8547bd19..6afa57c2ac 100644 --- a/flixel/system/debug/completion/CompletionList.hx +++ b/flixel/system/debug/completion/CompletionList.hx @@ -95,7 +95,7 @@ class CompletionList extends Sprite case Keyboard.UP: updateIndices(-1); - case Keyboard.ENTER: + case Keyboard.ENTER | Keyboard.TAB: if (completed != null) completed(items[selectedIndex]); close(); From dddde20f0e0cf36f7f088052f507a3e43cdc785d Mon Sep 17 00:00:00 2001 From: DetectiveBaldi <86160807+DetectiveBaldi@users.noreply.github.com> Date: Sat, 20 Jul 2024 13:37:15 -0400 Subject: [PATCH 2/2] Update CompletionHandler.hx --- flixel/system/debug/completion/CompletionHandler.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/system/debug/completion/CompletionHandler.hx b/flixel/system/debug/completion/CompletionHandler.hx index 4bc052b37d..56b2369836 100644 --- a/flixel/system/debug/completion/CompletionHandler.hx +++ b/flixel/system/debug/completion/CompletionHandler.hx @@ -48,7 +48,7 @@ class CompletionHandler var text = getTextUntilCaret(); // close completion so that enter works - if (text.endsWith(")") || text.endsWith("\"") || text.endsWith("'")) + if (text.endsWith(")") || text.endsWith("\"") || text.endsWith("'") || text.endsWith(";")) { completionList.close(); return;