Skip to content

Commit

Permalink
fix #51096
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 5, 2018
1 parent 3e6f669 commit b4e6fe3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ class RequestOracle {

let handle: number;
let contentListener = codeEditor.onDidChangeModelContent(event => {
handle = setTimeout(() => this._callback(codeEditor, event), 150);
clearTimeout(handle);
handle = setTimeout(() => this._callback(codeEditor, event), 350);
});
let modeListener = codeEditor.onDidChangeModelLanguage(_ => {
this._callback(codeEditor, undefined);
Expand Down

0 comments on commit b4e6fe3

Please sign in to comment.