cloose / CuteMarkEd

Qt Markdown Editor
http://cloose.github.io/CuteMarkEd
Other
1.48k stars 319 forks source link

Resizing of internal panels and jumping around #294

Open EricGrange opened 8 years ago

EricGrange commented 8 years ago

Currently when resizing the panels, be it because of a manual resize or because a panel was added, the editor will jump around in the document.

This is a request for the position to be kept, for instance that the top line (or top paragraph) stays top when resizing.

Alternatively, if hiding/displaying new panels could adjust the width of the window, it would be much nicer than dividing the existing space (rationale being that when editing or reading text, it is preferable to have narrow columns, on a 22" display, a full screen width column is not readable, so I always make the editor narrower. But whenever hiding/displaying a panel, that's overridden, and it makes the editor jump around).

cloose commented 8 years ago

This might be caused by the synchronization of the editor and html preview scrollbars.