未验证 提交 c2c64394 编写于 作者: J Joao Moreno

editor: fix word wrap settings in simple editor

上级 6941792f
......@@ -211,6 +211,10 @@ class ToggleWordWrapController extends Disposable implements IEditorContribution
// in the settings editor...
return;
}
if (this.editor.isSimpleWidget) {
// in a simple widget...
return;
}
// Ensure correct word wrap settings
const newModel = this.editor.getModel();
if (!newModel) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册