Renders all whitespace for text visualization & introduces decoration support.
This commit is contained in:
@@ -105,6 +105,7 @@ export class MonacoDiffEditor extends React.Component<{
|
||||
fixedOverflowWidgets: true,
|
||||
readOnly: true,
|
||||
theme: this.props.theme.kind === "dark" ? "vs-dark" : "vs",
|
||||
renderWhitespace: "all",
|
||||
});
|
||||
if (this.originalModel && this.modifiedModel) {
|
||||
this.editor.setModel({
|
||||
|
||||
Reference in New Issue
Block a user