Skip to content

Commit

Permalink
workaround for #74934
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 26, 2019
1 parent 56af1b0 commit 6507e42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/editor/contrib/documentSymbols/outlineTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { OutlineConfigKeys } from 'vs/editor/contrib/documentSymbols/outline';
import { MarkerSeverity } from 'vs/platform/markers/common/markers';
import { IThemeService } from 'vs/platform/theme/common/themeService';
import { listErrorForeground, listWarningForeground } from 'vs/platform/theme/common/colorRegistry';
import { KeyCode } from 'vs/base/common/keyCodes';

export type OutlineItem = OutlineGroup | OutlineElement;

Expand All @@ -38,7 +39,7 @@ export class OutlineNavigationLabelProvider implements IKeyboardNavigationLabelP
}

mightProducePrintableCharacter(event: IKeyboardEvent): boolean {
return this._keybindingService.mightProducePrintableCharacter(event);
return event.keyCode !== KeyCode.Escape && this._keybindingService.mightProducePrintableCharacter(event);
}
}

Expand Down

0 comments on commit 6507e42

Please sign in to comment.