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

Code Mirror jumps back-and-forth #3443

Closed
ghost opened this issue Jul 1, 2020 · 4 comments
Closed

Code Mirror jumps back-and-forth #3443

ghost opened this issue Jul 1, 2020 · 4 comments
Labels
bug It's a bug stale An issue that hasn't been active for a while...

Comments

@ghost
Copy link

ghost commented Jul 1, 2020

Sometimes when editing a somewhat long note, the Code Mirror editor view just suddenly jumps to a completely different location within the document. The cursor stays where it was (outside view), so editing can be continued. So far I've only paid attention to this problem within latex equations, in particular when the equation becomes unrenderable by KaTeX. This can happen in particular when you enter an opening brace { but the closing brace is still missing, or if you type the name of a non-existent command.

This bug could possibly related to #3341 (out of sync panes), as the rendered view can completely change when KaTeX decides it can no longer render the equation. The rendered view can suddenly become significantly shorter when editing a multi-line $$\begin{align} … & \\ … & \\ … \end{align}$$ equation environment.

@ghost ghost added the bug It's a bug label Jul 1, 2020
@CalebJohn
Copy link
Collaborator

Thanks for this detailed report, I believe that your correct to say that it's related to #3341 . Do you mind testing this bug with the ace editor enabled as well? I suspect it will have the same problem but I can't test myself now (don't have a computer at the moment).

@ghost
Copy link
Author

ghost commented Jul 2, 2020

I did not notice the bug in the old ace editor in the days before, editing the same note, so I suspect it is not affected. When I run to the problem again, I'll try to check exactly the same actions in ace as well.

@stale
Copy link

stale bot commented Aug 1, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Aug 1, 2020
@stale
Copy link

stale bot commented Aug 8, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

1 participant