Skip to content

Commit

Permalink
[code] Preserve original focus when refocusing the panel.
Browse files Browse the repository at this point in the history
This amends #722, as otherwise keyboard navigation becomes impossible.

We also amend the changelog entry (should be under main)
  • Loading branch information
ejgallego committed May 27, 2024
1 parent 3fbce9c commit 13b33e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@
`sentenceNext/sentencePrevious` (@ejgallego, #718)
- Switch Flèche range encoding to protocol native, this means UTF-16
for now (Léo Stefanesco, @ejgallego, #624, fixes #620, #621)
- Give `Goals` panel focus back if it has lost it (in case of
multiple panels in the second viewColumn of Vscode) whenever
user navigates proofs (@Alidra @ejgallego, #722 #723)

# coq-lsp 0.1.8.1: Spring fix
-----------------------------
Expand Down
3 changes: 0 additions & 3 deletions editor/code/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# coq-lsp 0.1.8: Trick-or-treat
-------------------------------

- Give `Goals` panel focus back if it has lost it (in case of
multiple panels in the second viewColumn of Vscode) whenever
user navigates proofs
- Update VSCode client dependencies, should bring some performance
improvements to goal pretty printing (@ejgallego, #530)
- Update goal display colors for light mode so they are actually
Expand Down
2 changes: 1 addition & 1 deletion editor/code/src/goals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class InfoPanel {
this.panelFactory();
} else {
if (!this.panel.active) {
this.panel.reveal(2, false);
this.panel.reveal(2, true);
}
}
}
Expand Down

0 comments on commit 13b33e8

Please sign in to comment.