refactor: rename QuillEditorUpdateCursorLocationAction to UpdateCursorLocationAction

pull/1937/head
Ellet 10 months ago
parent 1e1b883ee9
commit 0a1ec0b0af
  1. 4
      lib/src/widgets/raw_editor/raw_editor_actions.dart
  2. 2
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -578,9 +578,9 @@ class QuillEditorInsertEmbedIntent extends Intent {
final Attribute type;
}
class QuillEditorUpdateCursorLocationAction
class UpdateCursorLocationAction
extends ContextAction<ScrollToDocumentBoundaryIntent> {
QuillEditorUpdateCursorLocationAction(this.state);
UpdateCursorLocationAction(this.state);
final QuillRawEditorState state;

@ -1687,7 +1687,7 @@ class QuillRawEditorState extends EditorState
QuillEditorApplyHeaderIntent: _applyHeaderAction,
QuillEditorApplyCheckListIntent: _applyCheckListAction,
QuillEditorApplyLinkIntent: QuillEditorApplyLinkAction(this),
ScrollToDocumentBoundaryIntent: QuillEditorUpdateCursorLocationAction(this)
ScrollToDocumentBoundaryIntent: UpdateCursorLocationAction(this)
};
@override

Loading…
Cancel
Save