You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is one of the most frustrating things for me when using JupyterLab and it prevents me from working productively with larger files - see jupyterlab/jupyterlab#15102
It looks like we need something like this._undoManager.on('stack-item-popped', this._onStackItemPopped). For now I would propose to add it for text documents as in notebooks the behaviour is more complex.
Then, I wonder how is selection set currently if _onStackItemPopped is not implemented?
Description
This is one of the most frustrating things for me when using JupyterLab and it prevents me from working productively with larger files - see jupyterlab/jupyterlab#15102
Reproduce
See jupyterlab/jupyterlab#15102
Expected behavior
Editor scrolls on undo/redo if the new selection is outside of the viewport.
Context
This was just fixed in y-codemirror.next: yjs/y-codemirror.next#34 but
jupyter_ydoc
does not use that and has its own integration of undo manager.The text was updated successfully, but these errors were encountered: