提交 86a6759e 编写于 作者: B Basarat Ali Syed 提交者: GitHub

fix : Standalone Monaco text edit validation

上级 d7f953f5
......@@ -396,7 +396,7 @@ class SuggestAdapter {
let isSingleLine = (editRange.startLineNumber === editRange.endLineNumber);
// invalid text edit
if (!isSingleLine || editRange.startColumn !== position.lineNumber) {
if (!isSingleLine || editRange.startLineNumber !== position.lineNumber) {
console.warn('INVALID text edit, must be single line and on the same line');
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册