Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto update Markdownviewer preview panel not working anymore #87

Closed
sebastienbo opened this issue Sep 13, 2023 · 4 comments
Closed

Auto update Markdownviewer preview panel not working anymore #87

sebastienbo opened this issue Sep 13, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@sebastienbo
Copy link

Hi,

The preview windows of the plugin is not update automaticly anymore, users have to disable and enable the view panel after each change. Is it possible to create a trigger that refreshes the viewpanel as soon as a user changes something to the source file?

@mohzy83 mohzy83 added the bug Something isn't working label Sep 13, 2023
@mohzy83
Copy link
Owner

mohzy83 commented Sep 13, 2023

Please tell me which version of N++ do you use? Do you use a 32-bit or 64 bit version?

@sebastienbo
Copy link
Author

Hi,

I'm using NPP v8.5.6 (64bit)

@mohzy83
Copy link
Owner

mohzy83 commented Sep 13, 2023

I tested the plugin (0.7.3) with Notepad++ (8.5.6 x64).
Everythings works fine including the update of the preview (after the content was changed).
My test env:

Notepad++ v8.5.6   (64-bit)
Build time : Aug 15 2023 - 15:29:28
Path : C:\temp\npp856\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 22H2
OS Build : 22621.2283
Current ANSI codepage : 65001
Plugins : 
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)
    NppMarkdownPanel (0.7.3)

@sebastienbo
Copy link
Author

I tested the plugin (0.7.3) with Notepad++ (8.5.6 x64). Everythings works fine including the update of the preview (after the content was changed). My test env:

Notepad++ v8.5.6   (64-bit)
Build time : Aug 15 2023 - 15:29:28
Path : C:\temp\npp856\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 22H2
OS Build : 22621.2283
Current ANSI codepage : 65001
Plugins : 
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)
    NppMarkdownPanel (0.7.3)

Mohzy,
I've found the culprit, restarting notepad++ solved the issue.

I think that the listener hook is not working properly just after installing the plugin.
A NPP application restart is required to ensure the keyboard listener is active.

Sorry for the confusion

@mohzy83 mohzy83 closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants