OrderedListItemConversionReaction class

Converts a ParagraphNode to an OrderedListItemNode when the user types " 1. " (or similar) at the start of the paragraph.

Inheritance

Constructors

OrderedListItemConversionReaction()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
Pattern that is matched at the beginning of a paragraph and then passed to sub-classes for processing.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

modifyContent(EditContext editorContext, RequestDispatcher requestDispatcher, List<EditEvent> changeList) → void
Executes additional modifications within the current editor transaction.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPrefixMatched(EditContext editContext, RequestDispatcher requestDispatcher, List<EditEvent> changeList, ParagraphNode paragraph, String match) → void
Hook, called by the superclass, when the user starts the given paragraph with the given match, which fits the desired pattern.
override
react(EditContext editContext, RequestDispatcher requestDispatcher, List<EditEvent> changeList) → void
Executes additional actions in a new standalone transaction.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited