Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cell selection state bugs #223794

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fix cell selection state bugs #223794

merged 1 commit into from
Jul 25, 2024

Conversation

Yoyokrazy
Copy link
Contributor

Fixes: #223343, #223345

Patch was made in coreActions.ts to address the bug relating to hitting escape and the command no longer working.

Bug is upstream in the cell list, when escape is hit, the editor loses the cell selection, however retains focus. Therefore, the selectedCells are not passed into the context of this action. Now, the selectedCells are determined by checking the selection, and if empty, taking the focus of the editor.

@Yoyokrazy Yoyokrazy self-assigned this Jul 25, 2024
@Yoyokrazy Yoyokrazy linked an issue Jul 25, 2024 that may be closed by this pull request
@vscodenpa vscodenpa added this to the July 2024 milestone Jul 25, 2024
@Yoyokrazy Yoyokrazy enabled auto-merge (squash) July 25, 2024 22:31
@Yoyokrazy Yoyokrazy merged commit bcbdd8e into main Jul 25, 2024
7 checks passed
@Yoyokrazy Yoyokrazy deleted the impossible-wallaby branch July 25, 2024 22:43
nagi1999a pushed a commit to nagi1999a/vscode that referenced this pull request Jul 26, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cell selection state? Selection management
3 participants