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 Jan 7, 2025
1 parent 9cb8730 commit e0cff60
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 @@ -1204,14 +1204,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 e0cff60

Please sign in to comment.