diff options
author | Johannes Rieken <johannes.rieken@gmail.com> | 2018-06-05 18:54:07 +0300 |
---|---|---|
committer | Johannes Rieken <johannes.rieken@gmail.com> | 2018-06-05 18:57:54 +0300 |
commit | b4e6fe3bd751448783ed20c8e49fdabd69514b8d (patch) | |
tree | 97c8872bc2f04b56007102a9e5eba7c27aeca06d | |
parent | 3e6f66961610973c44371d8246634287c7ddcc0f (diff) |
fix #51096
-rw-r--r-- | src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts b/src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts index a84fd8ff73d..abff8b7c8f7 100644 --- a/src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts +++ b/src/vs/workbench/parts/outline/electron-browser/outlinePanel.ts @@ -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); |