Mercurial > obsidian-remember-file-state
view README.md @ 6:114d7e6d2633
Fix various issues around keeping references to editor objects
- Don't keep references to view. Instead, generate unique view IDs and
use that to find the correct uninstaller when needed.
- Don't keep a reference to the plugin itself in registered callbacks
on views because that could keep the plugin alive after it has been
unloaded.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 14 Feb 2022 12:35:45 -0800 |
parents | 7975d7c73f8a |
children | 141f0a7d1986 |
line wrap: on
line source
## Remember File State This [Obsidian](https://obsidian.md) plugin remembers the editor state of files as you switch between them. It restores the cursor position, scrolling position, and so on. The plugin doesn't do any polling, and strives to only do work when opening and closing files in order to no slow down the editing experience. Note that this plugin doesn't currently remember state across sessions.