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 selection and improve active text editor behaviour #14480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonah-iden
Copy link
Contributor

@jonah-iden jonah-iden commented Nov 19, 2024

What it does

This fixes the selection property in the vscode api of SimpleMonacoEditors when selecting text bottom to top and improves the activeTextEditor behaviour further to align it more to vscode.
Specificly this improves the case when switching from a different file to an already open notebook editor and the currently selected cell is a code cell, then the cell is set at the activeTextEditor

Fixes #14475
Fixes #14476
Fixes #14477

How to test

you can use this extension
Both with the Notebook-Test: get current selection or the Notebook-Test: get active text editor command

Follow-ups

Review checklist

Reminder for reviewers

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting on reviewers
1 participant