mohzy83 / NppMarkdownPanel

Lightweight Notepad++ plugin to preview Markdown files
MIT License
224 stars 36 forks source link

Feature Request : Sync without having to close/reopen #15

Closed brennanyoung closed 2 years ago

brennanyoung commented 5 years ago

I'd like the viewer panel to display my latest .md changes. The only way I can see to do this is to close and reopen the panel.

That's two clicks on a tiny, tiny button which require me to take my hands off the keyboard.

If we can't have the markdown in sync with individual keystrokes (perhaps some milliseconds after the last keystroke), could we instead have some kind of UI for 'sync'?

Perhaps a button? Perhaps a menu item with a shortcut? Perhaps just sync the view when you save?

It should happen quickly, easily, and (preferably) without taking the hands off the keyboard because the use case of markdown is people using a keyboard who are too busy to faff around with closing tags, so they're certainly too busy to take their hands off the keyboard.

andrzejQ commented 4 years ago

For now, before the solution appears, you may want to assign a hotkey, such as [Ctrl+Shift+M] in:

Macro \ Modify Shortcut \ Plugin Commands

Then you can press [Ctrl+Shift+M+M] (twice M). ShortcutMapper

andrzejQ commented 4 years ago

In N++ v.7.8 you can press [Ctrl+R].

mohzy83 commented 3 years ago

By default the panel updates itself after a short delay to reflect all changes in the .md-file. See how it works for me. npOigSI9ID This is not working for you?

ant1j commented 3 years ago

I have the same issue: the MD preview panel is not updating as I type & update the text.

cyberdyne101 commented 3 years ago

I'm suffering from this bug, (using x64) and if it is because what I think it is, it will not affect x32. Please see below. This is probably related to the issue is filed for MarkDownViewer++ but if you read the thread you can see it also relates to NppMarkdownPanel: https://github.com/nea/MarkdownViewerPlusPlus/issues/107

And the real, underlying issue seems to be because of this: https://community.notepad-plus-plus.org/topic/17755/notepad-7-7-breaking-change-of-scnotification-definition-in-x64-build

PawelWozniak commented 3 years ago

This is still an issue. I am using 7.9.2 x64 and Markdown Panel plugin. View is not refreshed.

mohzy83 commented 2 years ago

this is an issue with the 64-bit version of the plugin and will be fixed in version 0.6.0

mohzy83 commented 2 years ago

fixed in version 0.6.1