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

Force undo manager to stop capture when pasting #19

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

fcollonval
Copy link
Contributor

This was raised in jupyterlab/jupyterlab#10928

The capture seems to be stopped before capturing the paste event. But the second stop capture statement is not working because I succeed to do undo's that removed characters typed after the paste change.

@krassowski
Copy link

krassowski commented Oct 7, 2021

Hi, what is the state of this PR? Looking forward to have undo as a separate undoable event, but not quite sure if more work is required or if this solves it for JupyterLab.

@fcollonval
Copy link
Contributor Author

cc @dmonad what do you think of this solution?

@dmonad
Copy link
Member

dmonad commented Nov 15, 2021

Thank you for the fix @fcollonval!

Sorry for the late merge. This is perfect. I'm going to publish a new release in a bit and open a PR to JupyterLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants