Rope class

Constructors

Rope([String initialText = ''])

Properties

cachedLines List<String>
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
lineCount int
no setter
lines Iterable<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

charAt(int position) String
chunks() Iterable<String>
delete(int start, int end) → void
findLineEnd(int offset) int
findLineStart(int offset) int
getLineAtOffset(int charOffset) int
getLineStartOffset(int lineIndex) int
getLineText(int lineIndex) String
getText() String
insert(int position, String text) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
substring(int start, [int? end]) String
toString() String
A string representation of this object.
inherited

Operators

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