CatchAllDeleteRule class
Fallback delete rule: removes the requested range as-is, except that a deletion reaching the end of the document is shortened by one position so the final newline — the Quill document invariant — survives.
Constructors
- CatchAllDeleteRule()
-
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