BufferLine class
Methods
-
copyFrom(BufferLine src, int srcCol, int dstCol, int len)
→ void
-
Copies
len
cells from src
starting at srcCol
to dstCol
at this
line.
-
createAnchor(int offset)
→ CellAnchor
-
-
createCellData(int index)
→ CellData
-
-
dispose()
→ void
-
-
eraseCell(int index, CursorStyle style)
→ void
-
-
eraseRange(int start, int end, CursorStyle style)
→ void
-
Erase cells whose index satisfies
start
<= index < end
. Erased cells
are filled with style
.
-
getAttributes(int index)
→ int
-
-
getBackground(int index)
→ int
-
-
getCellData(int index, CellData cellData)
→ void
-
-
getCodePoint(int index)
→ int
-
-
getContent(int index)
→ int
-
-
getForeground(int index)
→ int
-
-
getText([int? from, int? to])
→ String
-
-
getTrimmedLength([int? cols])
→ int
-
Returns the offset of the last cell that has content from the start of
the line.
-
getWidth(int index)
→ int
-
-
insertCells(int start, int count, [CursorStyle? style])
→ void
-
Inserts
count
cells at start
. New cells are initialized with style
.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCells(int start, int count, [CursorStyle? style])
→ void
-
Remove
count
cells starting at start
. Cells that are empty after the
removal are filled with style
.
-
resetCell(int index)
→ void
-
-
resize(int length)
→ void
-
-
setAttributes(int index, int value)
→ void
-
-
setBackground(int index, int value)
→ void
-
-
setCell(int index, int char, int witdh, CursorStyle style)
→ void
-
-
setCellData(int index, CellData cellData)
→ void
-
-
setCodePoint(int index, int char)
→ void
-
-
setContent(int index, int value)
→ void
-
-
setForeground(int index, int value)
→ void
-
-
toString()
→ String
-
A string representation of this object.
override