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

Add automatic-save file #26

Open
ProgramMax opened this issue Jul 22, 2019 · 0 comments
Open

Add automatic-save file #26

ProgramMax opened this issue Jul 22, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@ProgramMax
Copy link
Owner

As a file is being edited there should be a separate file being saved along side which includes all of the edits. That way if the program crashes or the computer loses power we can resume where we left off. This means checking for that file when opening.

This also allows for a memory purging opportunity. Buffers can direct to part of a file and not yet be loaded (but have a known size). It can point to this shadow file to remove data from memory.

We should research if the file should be along side the original (permissions issue?) or in a separate directory. Make sure the separate directory isn't a temp dir that could be accidentally wiped.

@ProgramMax ProgramMax added enhancement New feature or request good first issue Good for newcomers labels Jul 22, 2019
@ProgramMax ProgramMax added this to the Polish milestone Jul 22, 2019
@ProgramMax ProgramMax self-assigned this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant