BufferLine class

Annotations
  • @sealed

Constructors

BufferLine.new({int length = 64, bool isWrapped = false})
BufferLine.withDataFrom(BufferLine other)

Properties

data BufferLineData
no setter
hasCachedSearchString bool
no setter
hashCode int
The hash code for this object.
no setterinherited
isWrapped bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cellClear(int index) → void
cellClearFlags(int index) → void
cellErase(int index, Cursor cursor) → void
cellGetBgColor(int index) int
cellGetContent(int index) int
cellGetFgColor(int index) int
cellGetFlags(int index) int
cellGetWidth(int index) int
cellHasContent(int index) bool
cellHasFlag(int index, int flag) bool
cellInitialize(int index, {required int content, required int width, required Cursor cursor}) → void
cellSetBgColor(int index, int color) → void
cellSetContent(int index, int content) → void
cellSetFgColor(int index, int color) → void
cellSetFlag(int index, int flag) → void
cellSetFlags(int index, int flags) → void
cellSetWidth(int index, int width) → void
clear() → void
clearRange(int start, int end) → void
copyCellsFrom(covariant BufferLine src, int srcCol, int dstCol, int len) → void
ensure(int length) → void
erase(Cursor cursor, int start, int end, [bool resetIsWrapped = false]) → void
getTrimmedLength([int? cols]) int
insert(int index) → void
insertN(int index, int count) → void
isTagDirty(String tag) bool
markTagAsNonDirty(String tag) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeN(int index, int count) → void
removeRange(int start, int end) → void
toDebugString(int cols) String
toSearchString(int cols) String
toString() String
A string representation of this object.
inherited

Operators

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