Skip to content

Synchronized scrolling in live preview failing to move at all in some circumstance #657

@Arnache

Description

@Arnache

My config

Ubuntu 24.04LTS
ReText 8.02
Installed MathJax locally with sudo apt install libjs-mathjax

Issue, with steps to reproduce

I checked the WebEngine (Chromium) option in the menu.
I switched on the live preview (Ctrl-L)
In the Editor pane I started with a numbered list, where I copied several times a Lorem Ipsum text (approx 6 lines long) like :

 1. Lorem ipsum [...
...] sit amet.
 2. Lorem ipsum [...
...] sit amet.

[...]

 40. Lorem ipsum [...
...] sit amet.

The scroll sync does not work at all, if I modify in the editor pane or just use arrow keys in this same editor pane.

Expected behaviour

Live preview scroll syncs when I modify and also when I use arrow keys, in the editor pane.

Workaround

If I add a separate first line at the beginning of the file, it works

Test

 1. Lorem ipsum [...
...] sit amet.
 2. Lorem ipsum [...
...] sit amet.

[...]

 40. Lorem ipsum [...
...] sit amet.

Note

I did not have time to perform finer tests to get a Minimal Working Example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions