Skip to content

Commit

Permalink
Select all does not focus editor if targeting the editor (fixes #9329)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jul 15, 2016
1 parent 56c91a5 commit 4d0b2f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/editor/common/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ function selectAll(accessor: ServicesAccessor, args: any): void {
// Redirecting to last active editor
let activeEditor = getActiveEditor(accessor);
if (activeEditor) {
activeEditor.focus();
activeEditor.trigger('keyboard', HANDLER, args);
return;
}
Expand Down

0 comments on commit 4d0b2f5

Please sign in to comment.