Markpad
Markpad copied to clipboard
Split scroll sync repositions panes on every cursor move while typing
Problem
When split scroll sync is enabled, the editor registers onDidChangeCursorPosition as a scroll-sync source. Typing moves the cursor on every character, so each edit emits a new scroll position. If preview layout changes while rendering, the reciprocal positioning makes both panes visibly jump.
This is the remaining typing-jitter symptom reported in #205; it is distinct from normal scroll synchronization.
Expected behavior
Only actual editor scroll changes should initiate editor-to-preview synchronization. Cursor movement and text insertion without scrolling must not reposition either pane.