mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-28 08:04:00 +01:00
fix #110826.
This commit is contained in:
@@ -88,7 +88,7 @@ export function truncatedArrayOfString(container: HTMLElement, outputs: string[]
|
||||
|
||||
if (buffer.getLineCount() < LINES_LIMIT) {
|
||||
const lineCount = buffer.getLineCount();
|
||||
const fullRange = new Range(1, 1, lineCount, buffer.getLineLength(lineCount));
|
||||
const fullRange = new Range(1, 1, lineCount, buffer.getLineLastNonWhitespaceColumn(lineCount));
|
||||
|
||||
container.innerText = buffer.getValueInRange(fullRange, EndOfLinePreference.TextDefined);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user