From aa8f82f7aad7e8188008057d236870afc66468e0 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Thu, 20 Oct 2022 14:26:44 -0700 Subject: [PATCH] - don't throw showAutocorrectionPromptRect not implemented. The function is called with every keystroke as a user is typing (#981) --- .../raw_editor/raw_editor_state_text_input_client_mixin.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart b/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart index 24cdc955..a72fb88e 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart @@ -283,7 +283,8 @@ mixin RawEditorStateTextInputClientMixin on EditorState @override void showAutocorrectionPromptRect(int start, int end) { - throw UnimplementedError(); + // this is called VERY OFTEN when editing a document, no longer throw an exception + // throw UnimplementedError(); } @override