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

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

Closed
internationils opened this issue May 7, 2024 · 2 comments
Closed

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

internationils opened this issue May 7, 2024 · 2 comments
Assignees
Labels

Comments

@internationils
Copy link

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 RickStrahl self-assigned this May 8, 2024
@RickStrahl RickStrahl added the bug label May 8, 2024
@RickStrahl
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants