You are here: PSPad forum > English discussion forum > Backup of open tabs

Backup of open tabs

#1 Backup of open tabs

Posted by: syntech | Date: 2019-02-14 14:55 | IP: IP Logged

I've used the search function, but couldn't find an answer. How can I enable automatic backup of the open tabs (files)? PSPad seems to save this info only when it's closed. But if I have to kill it, all currently open tabs are lost. If this feature doesn't exist, please consider adding it in the future. Would be very helpful for me! Thanks.

Options: Reply | Quote | Up ^


#2 Re: Backup of open tabs

Posted by: Andreas | Date: 2019-02-14 15:56 | IP: IP Logged

+100 Yes, would be a good idea to store the open tabs somewhere before a crash occurs.

Options: Reply | Quote | Up ^


#3 Re: Backup of open tabs

Posted by: pspad | Date: 2019-02-14 16:11 | IP: IP Logged

Just now there is a session function.
You can anytime save/restore session
I can add automatic session saving

Options: Reply | Quote | Up ^


#4 Re: Backup of open tabs

Posted by: Gabriel_ACE | Date: 2019-02-14 17:39 | IP: IP Logged

pspad:
Just now there is a session function.
You can anytime save/restore session
I can add automatic session saving

yes!! please! smiling smiley

Options: Reply | Quote | Up ^


#5 Re: Backup of open tabs

Posted by: syntech | Date: 2019-02-15 10:42 | IP: IP Logged

pspad:
Just now there is a session function.
You can anytime save/restore session
I can add automatic session saving

Session == all currently open tabs? Anything else?

And yes, automatic saving of all currently open tabs would be GREAT, because I never know when PSPad hangs/crashes and I have to kill it. With many (frequently changing) files open this is a PITA when this happens.

Options: Reply | Quote | Up ^


#6 Re: Backup of open tabs

Posted by: pspad | Date: 2019-02-15 11:11 | IP: IP Logged

Each file state is stored in the project or in file cache (PSCache5.bin) if enabled in program settings / Files
File state means cursor position, bookmarks, code page, highlighter.

Options: Reply | Quote | Up ^


#7 Re: Backup of open tabs

Posted by: pspad | Date: 2019-02-16 17:30 | IP: IP Logged

For the start I will save open file list after any file close or open.
Wee will see it it will be enough.

Options: Reply | Quote | Up ^


#8 Re: Backup of open tabs

Posted by: syntech | Date: 2019-02-18 08:55 | IP: IP Logged

pspad:
For the start I will save open file list after any file close or open.
Wee will see it it will be enough.

Agreed, that's better than what we have now. But how about a timer like for the automatic backup?

"File state means cursor position, bookmarks, code page, highlighter."

For my needs everything of the listed options would be very helpful, but cursor position would be the most useful. Of course, I take what I get (a big thanks in advance!) but if automatic session save would be possible and it would be the same like when closing the editor (in my case, I save everything) it would be great!

Options: Reply | Quote | Up ^


#9 Re: Backup of open tabs

Posted by: pspad | Date: 2019-02-18 09:13 | IP: IP Logged

There is the timer for field autosave already in the program settings / Backup

Options: Reply | Quote | Up ^


#10 Re: Backup of open tabs

Posted by: syntech | Date: 2019-02-18 13:15 | IP: IP Logged

pspad:
There is the timer for field autosave already in the program settings / Backup

I know. I only mentioned this timer as suggestion for the 'tabs/session save' auto-save. What I meant was, instead of saving every file open/close add a timer like you did for the automatic backup. Sorry for the confusion.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR