Fixes #28093: deep clone editor creation options
This commit is contained in:
parent
0ee66e5d33
commit
e4d76e67e1
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export abstract class CommonEditorConfiguration extends Disposable implements ed
|
|||
constructor(options: editorOptions.IEditorOptions) {
|
||||
super();
|
||||
|
||||
this._rawOptions = objects.mixin({}, options || {});
|
||||
this._rawOptions = objects.deepClone(options || {});
|
||||
this._validatedOptions = editorOptions.EditorOptionsValidator.validate(this._rawOptions, EDITOR_DEFAULTS);
|
||||
this.editor = null;
|
||||
this._isDominatedByLongLines = false;
|
||||
|
|
Loading…
Reference in a new issue