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

Ctrl-Z (undo) does not scroll the view to the location in question #427

Open
quartertone opened this Issue Jan 16, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@quartertone
Copy link

quartertone commented Jan 16, 2019

When using the Undo (ctrl-Z) feature, the edit is undone, but the display does not scroll/jump to the location of the "undo" as would be expected (as is the standard behavior in most text editors). This is noticeable if the note is long enough to need a scrollbar, and if the edit is outside of the currently displayed section.

@mobitar

This comment has been minimized.

Copy link
Member

mobitar commented Jan 17, 2019

Which editor is this with?

@quartertone

This comment has been minimized.

Copy link
Author

quartertone commented Jan 17, 2019

In my testing, I found this behavior in:
Plain editor
LaTeX editor
Plus editor
Simple markdown editor
Simple task editor

The cursor doesn't jump to the undo location for the above editors.

It worked as expected for Code editor, Minimal Markdown editor, and Adv markdown editor.

Also, I happened to notice that the Vim editor doesn't have a scrollbar either. I'm guessing (per the appearance) that it shares some code, and therefore bugs, with the Code editor.

cheers!

@mobitar

This comment has been minimized.

Copy link
Member

mobitar commented Jan 18, 2019

Yeah, Vim editor and Code editor are clones of one another. Will need to investigate these issues when I'm back in these codebases. Thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment