convenient methods fill, makeCopyOf and clone for BufferLine

This commit is contained in:
Jörg Breitbart
2018-09-04 16:30:17 +02:00
parent 02672dc22e
commit 165c8d4522
3 changed files with 122 additions and 2 deletions
+3
View File
@@ -519,4 +519,7 @@ export interface IBufferLine {
deleteCells(pos: number, n: number, fill: CharData): void;
replaceCells(start: number, end: number, fill: CharData): void;
resize(cols: number, fill: CharData, shrink?: boolean): void;
fill(fillCharData: CharData): void;
makeCopyOf(line: IBufferLine): void;
clone(): IBufferLine;
}