NppMarkdownPanel icon indicating copy to clipboard operation
NppMarkdownPanel copied to clipboard

Synchronize and Align Viewer With Caret

Open JWoolley-FL-USA opened this issue 6 years ago • 1 comments

I find the option to synchronize the NppMarkdownPanel's viewer with Npp's caret useful, but it would be more useful if the viewer maintained vertical alignment with the caret. Currently the caret's associated text is always positioned at the top of the viewer. Is it possible to actually synchronize the viewer with the caret, including vertical alignment? If not, perhaps you could position the caret's associated text from 35% to 50% below the top of the viewer, so it can be seen in context with other nearby text.

JWoolley-FL-USA avatar Aug 03 '19 17:08 JWoolley-FL-USA

Better yet, how about synchronizing the scrolling itself, so that top of the rendered content starts with the same line that's at the top of the editor's text view? That's about as close as we can reasonably expect to come to synchronizing what contents are actually visible between the two views.

evan-king avatar Oct 01 '19 12:10 evan-king

There is a new feature in version 0.7.1 which addresses this issue. The Option is called "https://github.com/mohzy83/NppMarkdownPanel/releases/tag/0.7.1"

mohzy83 avatar Dec 27 '22 16:12 mohzy83