mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Revert "Merge pull request #131035 from DonJayamanne/issue129370"
This reverts commitb23486ef7a, reversing changes made to9e0732389b.
This commit is contained in:
@@ -40,8 +40,8 @@ export class NotebookSerializer implements vscode.NotebookSerializer {
|
||||
}
|
||||
}
|
||||
|
||||
// Then compute indent from the contents (only use first 1K characters as a perf optimization)
|
||||
const indentAmount = contents ? detectIndent(contents.substring(0, 1_000)).indent : ' ';
|
||||
// Then compute indent from the contents
|
||||
const indentAmount = contents ? detectIndent(contents).indent : ' ';
|
||||
|
||||
const preferredCellLanguage = getPreferredLanguage(json.metadata);
|
||||
// Ensure we always have a blank cell.
|
||||
|
||||
Reference in New Issue
Block a user