question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Contents of Viewer not syncing anymore (Npp v7.7)

See original GitHub issue

Issue description

After the upgrade to Notepad++ v7.7 (64-bit) this morning, the syncing of the contents in the preview windowrefresh did not work anymore. Tried to ‘refresh’, but that did not work either. I had to restart the session to see my result. Soame goes for the automatic scrolling, that broke as well.

Markdown to reproduce

  Please post the markdown code producing the described issue, if any

Screenshot

First screenshot, in the middle of an edit session: Capture1

Second screenshot, after having save the file: Capture2_after_saving

Third screen shot, after having performed a View / Refresh: Capture3_after_View_Refresh

Environment

  • Notepad++ Notepad++ v7.7 (64-bit) Build time : May 19 2019 - 13:05:35 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : DSpellCheck.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll

  • MarkdownViewer++ X.Y.Z Capture4_MD_Viewer

  • Windows 10 (x64) Capture5_Windows

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:13
  • Comments:28

github_iconTop GitHub Comments

4reactions
CapinWinkycommented, May 27, 2021

As @wilfreddijksman has linked, this is a problem with Npp 64bit v7.7 and up. They changed an API to use 64bit precision for document position instead of the previous 32bit, something that would only come into play for documents approaching 1GB in size. That breaks all plugins that used that API. I don’t know the relationship between Npp and Scintilla, but the change is in the Scintilla side.

Because of the ridged way Npp handles plugins (each version of Npp has a fixed list of plugins and fixed versions for each of those plugins) even if this MarkdownViewer++ plugin is changed to work with newer 64bit versions of Npp, it will remain broken in all versions from v7.7 up until the version that first points to the fixed version of this plugin.

Npp has combined a dumb, hard-coded plugin list with a pointless API change (possibly just pulled up from Scintilla) that breaks several plugins in that list. It is ridiculous and indefensible, if anything, Npp should have rolled back the Scintilla version as soon as this disaster came to light. You can rebuild this plugin’s .dll with the changes to the Scintilla code related to positions and import it as an off-book plugin to make it work with 64bit or install the 32bit version of Npp instead. You could also step away from Npp altogether in search of a better managed project.

2reactions
jg44commented, Jun 21, 2019

Same issue here on 64 bit. Interim workaround is to close and open (by hitting Ctrl-Shift-M twice) which forces a Refresh.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File edits not changing file status | Notepad++ Community
Hello I'm having an issue where I can edit a text file in NP++ but the file status doesn't change in the editor,...
Read more >
How do I install the Notepad++ Hex-Editor plugin?
I have Notepad++ v7.7.1, but there is no Hex-Editor plugin available in the Plugins Admin. f0dder's URL in your screenshot (f0dder.dcmembers.com ...
Read more >
Notepad++, compare plugin installation problem
I had Notepad++ 7.5.8 (npp.7.5.8). It does not have plugin manager; previous versions used to have it. I followed these instructions. I ...
Read more >
Untitled
Luke bryan songs free download, Rdp 7.0 for windows 7 download, ... pdf files, Metaxi mas naxos audiobooks, File download dialog box not...
Read more >
FIX SUMMARY LISTING FOR VERSION 7 RELEASE 3.0
No results were found for your search query. Tips. To return expected results, you can: Reduce the number of search terms. Each term...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found