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

Reload file content if it was changed from outside #196

Open
sergDash opened this issue May 19, 2023 · 3 comments
Open

Reload file content if it was changed from outside #196

sergDash opened this issue May 19, 2023 · 3 comments
Assignees
Labels
feature A new feature or improvement

Comments

@sergDash
Copy link

Saving the cursor position in the file and restoring it when the file is reopened.

Thanks for the great editor. A minimum of settings is good. Convenient interface.

@sergDash sergDash added the feature A new feature or improvement label May 19, 2023
@massivemadness
Copy link
Owner

Hi @sergDash, that feature is already implemented. The file content, scroll position and cursor position are stored in cache.

@sergDash
Copy link
Author

Hi @massivemadness! After reopening the file, everything is reset for me.

And I also want to reload the file changed from the outside.

@massivemadness
Copy link
Owner

If you close a certain tab, the app will clear the file cache and this is unlikely to change in the future. As for reloading the file, that's an interesting idea and I'll probably implement it in future versions. Thanks for feedback!

@massivemadness massivemadness changed the title remember cursor position Reload file content if it was changed from outside May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants