Merge branch 'master' into trim_behavior

This commit is contained in:
Jörg Breitbart
2018-11-29 21:26:45 +01:00
54 changed files with 873 additions and 375 deletions
+2 -5
View File
@@ -94,11 +94,8 @@ export class BufferLine implements IBufferLine {
}
}
public copyFrom(line: IBufferLine): void {
this._data = [];
for (let i = 0; i < line.length; ++i) {
this._push(line.get(i));
}
public copyFrom(line: BufferLine): void {
this._data = line._data.slice(0);
this.length = line.length;
this.isWrapped = line.isWrapped;
}