提交 480850fe 编写于 作者: K Kai Maetzel 提交者: GitHub

Merge pull request #9538 from bradyholt/patch-1

Fix minor spelling mistake in comment: Iff > If
......@@ -78,7 +78,7 @@ class FormatOnType implements editorCommon.IEditorContribution {
canceled = false;
// install a listener that checks if edits happens before the
// position on which we format right now. Iff so, we won't
// position on which we format right now. If so, we won't
// apply the format edits
var unbind = this.editor.onDidChangeModelRawContent((e: editorCommon.IModelContentChangedEvent) => {
if (e.changeType === editorCommon.EventType.ModelRawContentChangedFlush) {
......@@ -236,4 +236,4 @@ CommonEditorRegistry.registerEditorAction({
kbExpr: KbExpr.has(editorCommon.ModeContextKeys.hasFormattingProvider)
}
});
CommonEditorRegistry.registerEditorContribution(FormatOnType);
\ No newline at end of file
CommonEditorRegistry.registerEditorContribution(FormatOnType);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册