CatchAllInsertRule class
Fallback insert rule: retains up to the insertion point and inserts the data as-is, with no special handling.
When the insert replaces a range (see Document.replace), the insertion
lands after the doomed range so it survives the follow-up delete.
Constructors
- CatchAllInsertRule()
-
Creates the rule.
const
Properties
Methods
-
apply(
Delta document, int index, {int? length, Object? data, Attribute< Object?> ? attribute, required AttributeRegistry registry}) → Delta -
Produces the change delta for the edit intent, or
nullwhen this rule does not apply.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited