Skip to content

Commit

Permalink
chore: remove unused _replaceText() from raw_editor_state.dart as it …
Browse files Browse the repository at this point in the history
…is in editor_keyboard_shortcut_actions_manager.dart and added back due to git revert
  • Loading branch information
EchoEllet committed Dec 11, 2024
1 parent c6d2d23 commit de793cd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/src/editor/raw_editor/raw_editor_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit de793cd

Please sign in to comment.