From e5cf7a052aeeb83210f326724a50d1f22d85d33d Mon Sep 17 00:00:00 2001 From: Mike Allen Date: Thu, 20 Oct 2022 13:00:35 -0700 Subject: [PATCH] - don't throw showAutocorrectionPromptRect not implemented. The function is called with every keystroke as a user is typing --- .../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