提交 86ee4536 编写于 作者: R rebornix

fix #101808. fix editor gutter width when folding is disabled.

上级 ab7a5ec3
......@@ -139,10 +139,16 @@ export class CellEditorOptions {
const computeEditorOptions = () => {
const editorOptions = deepClone(configurationService.getValue<IEditorOptions>('editor', { overrideIdentifier: language }));
return {
const computed = {
...editorOptions,
...CellEditorOptions.fixedEditorOptions
};
if (!computed.folding) {
computed.lineDecorationsWidth = 16;
}
return computed;
};
this._value = computeEditorOptions();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册