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
Upgrade lumino to v2024.3.25, improve CodeMirror shortcuts handling #16078
Conversation
Thanks for making a pull request to jupyterlab! |
3f86f7e
to
462422e
Compare
This also means that Ctrl+Shift+K no longer opens Table Of Contents when in edit mode (it now only deletes the current line; previously it did both: #16096). Given the issues:
I propose that we disable these default keybindings and add proper commands for them. |
027a0a6
to
c4d2ea6
Compare
It looks like the galata tests are failing because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @krassowski
…upyterlab#16078) * Upgrade lumino packages to v2024.3.25 * Add shortcuts/commands for CM, fix issues with new lumino version. * Fix escape and toggle back extending selection * Update tests for extending selection * Add tests for delete line, comment line, and comment block commands * Update help snapshot
References
preventDefault
to prevent default CodeMirror actions - instead we filter these out in the first place.⇧ ⌘ K
) brings up the Table of Contents and DELETES CODE #16096; the new behaviour is to delete the line but the shortcut can now be disabled from settings if a user prefers it to always open the ToCCode changes
None
User-facing changes
Backwards-incompatible changes
None