EditRequestHandler typedef
EditRequestHandler =
EditCommand? Function(Editor editor, EditRequest request)
Factory method that creates and returns an EditCommand that can handle
the given EditRequest, or null if this handler doesn't apply to the given
EditRequest.
Implementation
typedef EditRequestHandler = EditCommand? Function(Editor editor, EditRequest request);