Page 1 of 1

How can I force a quick save in case of PC crash? No Ctrl-S?

Posted: Mon Aug 23, 2010 9:04 am
by StraightShooter
How can I force a quick save in case of PC crash? No Ctrl-S?

Hello,

I have been hitting Ctrl-S on every application for 30 years after every document change. So when my PC or the app or windows hangs, and this happens from time to time, I know I have written to disk and my data is safe.

But with Cinta - it seems in the event of a crash, the data could easily be lost.

I love the format but couldn't use it if I have to rely on the app saving time table instead of my own.

If there is a way to force a quick save, hopefully with just one keyboard command, such as Ctrl-S - that would be GREAT!!!!

Automatic saving is a pain for me - because I might like to fall back to a previous edit - auto saving takes this option away. Top flight editors like UltraEdit, and really - most every notepad, allows for user only saving.

If CintaNotes had this feature, it would be OUTSTANDING! (even more than it already is :-)

Thank you!

SS

Re: How can I force a quick save in case of PC crash? No Ctrl-S?

Posted: Tue Aug 24, 2010 5:46 am
by CintaNotes Developer
Hello!

First, I understand your concerns. Unfortunately CN doesn't support the explicit saving paradigm.
But you can come close with the following tweaks:

1) To make sure your data is safe even in case of a sudden system crash, change some values in the cintanotes.settings file.
Set the value of sqlite.pragma.synchronous parameter to 'FULL'. This will make CN work slower - it will wait for every disk operation to fully complete. So it will work as if you'd pressed Ctrl+S after every change. This is generally not necessary on a normal stable system, but if your system (or power) is unstable this can be a real lifesaver.

2) In order to save the data in the open editor window, close it and reopen. The saving happens on closing.

3) You can get back the old version of your notes using the backup file which is created every hour. In future versions an Undo function will be implemented, so this will become a non-issue.

Hope this helps.

Re: How can I force a quick save in case of PC crash? No Ctrl-S?

Posted: Wed Aug 25, 2010 10:04 am
by StraightShooter
Thanks for the reply. I'll just keep my fingers crossed then :-)

Re: How can I force a quick save in case of PC crash? No Ctr

Posted: Thu Dec 08, 2011 3:04 am
by Dangph
I would like a ctrl-s save too. I typically work on a single note for a long time. It could be open for a day or even days, depending on the task I am working on.

It would be great if I could press ctrl-s to commit changes to the database without having to close and reopen the note.

Pressing ctrl-s is a reflex for me. I press it when I'm satisfied that I want to commit the current change to disk. It works on all text editors (in the Windows world at least).

It makes me nervous to have changes that only exist in RAM. What if there is a power failure? It happens sometimes.

Closing and reopening the note is kind of annoying.

Re: How can I force a quick save in case of PC crash? No Ctr

Posted: Sun Dec 11, 2011 12:43 am
by Thomas_Lohrum
I close and reopen the edit window all time. It is a pain the least to say. Is it that hard to add a ctrl+s shortcut to save the note?

Re: How can I force a quick save in case of PC crash? No Ctr

Posted: Mon Dec 12, 2011 6:09 pm
by CintaNotes Developer
Didn't realize it was causing so much pain. Sorry for that, Ctrl+S support will be in the next update.

Re: How can I force a quick save in case of PC crash? No Ctr

Posted: Mon Dec 12, 2011 7:08 pm
by Thomas Lohrum
Thank you! :)

Thomas

Re: How can I force a quick save in case of PC crash? No Ctr

Posted: Mon Dec 12, 2011 11:18 pm
by Dangph
Thanks Alex. You are awesome.