From de793cd73c2e70fceba575db8dd7d86606dc9dcb Mon Sep 17 00:00:00 2001 From: Ellet Date: Wed, 11 Dec 2024 17:41:24 +0300 Subject: [PATCH] chore: remove unused _replaceText() from raw_editor_state.dart as it is in editor_keyboard_shortcut_actions_manager.dart and added back due to git revert --- lib/src/editor/raw_editor/raw_editor_state.dart | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/src/editor/raw_editor/raw_editor_state.dart b/lib/src/editor/raw_editor/raw_editor_state.dart index 02aa0f770..6d1bd2cf5 100644 --- a/lib/src/editor/raw_editor/raw_editor_state.dart +++ b/lib/src/editor/raw_editor/raw_editor_state.dart @@ -1209,14 +1209,6 @@ class QuillRawEditorState extends EditorState return true; } - void _replaceText(ReplaceTextIntent intent) { - userUpdateTextEditingValue( - intent.currentTextEditingValue - .replaced(intent.replacementRange, intent.replacementText), - intent.cause, - ); - } - @override bool get wantKeepAlive => widget.config.focusNode.hasFocus;