Skip to content

Commit

Permalink
Merge pull request #7864 from basarat/patch-2
Browse files Browse the repository at this point in the history
fix : Standalone Monaco text edit validation
  • Loading branch information
alexdima authored Jun 20, 2016
2 parents c9a7390 + 86a6759 commit 81f2b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/browser/standalone/standaloneLanguages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 81f2b6a

Please sign in to comment.