ResolveInlineFormatRule class
Applies an inline-scope attribute to every character in the range except newlines.
Newlines carry block formatting only, so an inline format spanning
multiple lines decorates the text runs and steps over each '\n' with a
plain retain.
Constructors
- ResolveInlineFormatRule()
-
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