Fix translateToString endCol default arg

This commit is contained in:
Daniel Imms
2018-12-18 16:22:41 -08:00
parent d27b43d515
commit 04ac36fc16
4 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
}
} else {
// Get first row
const startRowEndCol = start[1] === end[1] ? end[0] : null;
const startRowEndCol = start[1] === end[1] ? end[0] : undefined;
result.push(this._buffer.translateBufferLineToString(start[1], true, start[0], startRowEndCol));
// Get middle rows