RickStrahl / MarkdownMonster

An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
https://markdownmonster.west-wind.com
Other
1.59k stars 235 forks source link

Statistics in footer bar don't change when opening a file #1109

Closed internationils closed 6 months ago

internationils commented 6 months ago

When clicking on a file in read-only mode or double clicking to edit, the statistics (lines, words, characters etc.) don't change. They only change once you actually click in the editing window. It would be very useful to have those change immediately when the file is opened to be able to compare versions of a text.

RickStrahl commented 6 months ago

Looks like the first Markdown Preview works. It works if you go from Fully open document to preview MD document, but it doesn't work when you go from preview to preview.

So the issue appears to be that once the preview mode is on, the document stats aren't refreshed.

RickStrahl commented 6 months ago

Ok I've added the explicit stat refresh when a new 'preview' tab is created.

Also: If you want document information the better way to see that is to hover over the file in the Folder Browser, or over the tab.

image