278
279
private _doDispatch(userKeypress: ResolvedKeybinding, target: IContextKeyServiceTarget, isSingleModiferChord = false): boolean {
281
>
282
>
if (userKeypress.hasMultipleChords()) { // warn - because user can press a single chord at a time
283
console.warn('Unexpected keyboard event mapped to multiple chords');
284
return false;
285
}
287
>
let userPressedChord: string | null = null;
288
>
let currentChords: string[] | null = null;
289
>
290
>
if (isSingleModiferChord) {
291
// The keybinding is the second keypress of a single modifier chord, e.g. "shift shift".
292
// A single modifier can only occur when the same modifier is pressed in short sequence,