MarkdownSegmentCache class

Retains settled segment strings between appends. Only the previous tail and appended source are split again. Edits or CR normalization fall back to a full split. Callers still compare source prefixes; this is not O(1).

Constructors

MarkdownSegmentCache()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String source, {MarkdownBlockRegistry? blockRegistry}) List<String>

Operators

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