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.

Inheritance

Constructors

ResolveInlineFormatRule()
Creates the rule.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RuleType
Which kind of edit intent this rule participates in.
no setteroverride

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 null when 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