public static interface VirtualTerminal.BufferWalker
VirtualTerminal.forEachLine(int, int, BufferWalker)
as a way to iterate over a range
of lines in the text bufferModifier and Type | Method | Description |
---|---|---|
void |
onLine(int rowNumber,
VirtualTerminal.BufferLine bufferLine) |
Invoked separately on each line inside the specified range when calling
VirtualTerminal.forEachLine(int, int, BufferWalker) |
void onLine(int rowNumber, VirtualTerminal.BufferLine bufferLine)
VirtualTerminal.forEachLine(int, int, BufferWalker)
rowNumber
- The row number of this invocation, where 0 means the first line of the backlogbufferLine
- Object the repressents the line and its content on this rowCopyright © 2020. All rights reserved.