diff --git a/lib/src/widgets/raw_editor/raw_editor_actions.dart b/lib/src/widgets/raw_editor/raw_editor_actions.dart index 0867a29d..2993fe5b 100644 --- a/lib/src/widgets/raw_editor/raw_editor_actions.dart +++ b/lib/src/widgets/raw_editor/raw_editor_actions.dart @@ -578,9 +578,9 @@ class QuillEditorInsertEmbedIntent extends Intent { final Attribute type; } -class UpdateCursorLocationAction +class NavigateToDocumentBoundaryAction extends ContextAction { - UpdateCursorLocationAction(this.state); + NavigateToDocumentBoundaryAction(this.state); final QuillRawEditorState state; diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 5bd5c45f..1f2b7ff4 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -1687,7 +1687,7 @@ class QuillRawEditorState extends EditorState QuillEditorApplyHeaderIntent: _applyHeaderAction, QuillEditorApplyCheckListIntent: _applyCheckListAction, QuillEditorApplyLinkIntent: QuillEditorApplyLinkAction(this), - ScrollToDocumentBoundaryIntent: UpdateCursorLocationAction(this) + ScrollToDocumentBoundaryIntent: NavigateToDocumentBoundaryAction(this) }; @override