-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Repro steps:
- Replace CodeMirror/mode/markdown/index.html with the attached index.html
- Open that index.html
- Paste in the contents of aaaa.txt (sorry I couldn't make up a small repro case)
- In the console run
editor.setCursor({line: 485, ch: 28, xRel: 1})
Expected:
Editor scrolls to the indicated position
Actual:
Editor scrolls to the indicated position, and then the highlighting gets messed up, flipping code-style and normal-style text. I'm pretty sure this is because of a reparse/redraw that doesn't start very far up above the upper edge of the viewport.
Metadata
Metadata
Assignees
Labels
No labels