Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Persist open file and location in file. #3

Open
Flyffies opened this issue Sep 21, 2019 · 2 comments
Open

Persist open file and location in file. #3

Flyffies opened this issue Sep 21, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Flyffies
Copy link

It would be a nice feature to reopen the file that was open when Docdown gets closed.

It would additionally be very helpfull to even scroll back to the last position.

If you really want to get fancy you could do the same for the PDF and even the file tree :)

@msujew msujew added the enhancement New feature or request label Sep 22, 2019
@msujew msujew self-assigned this Sep 22, 2019
@msujew
Copy link
Member

msujew commented Sep 22, 2019

Docdown now saves the current workspace state as of 531be6a. It reopens all files, scrolls back to the last position and also opens folders in the file tree. Sadly, because of an architectural limitation, this does not work for PDF files.

@msujew msujew closed this as completed Sep 22, 2019
@msujew
Copy link
Member

msujew commented Sep 22, 2019

Apparently, it does not always scroll correctly, therefore I'll open up the issue again

@msujew msujew reopened this Sep 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants