Autosave in text editor

I would like to have text editor where I can turn on autosave every 30 seconds.

There can be two autosaves.

  1. That create new text files every 30 seconds.
    notes.20240907060630.txt
    notes.20240907060700.txt
    notes.20240907060730.txt
  2. Updates notes.txt every 30 seconds.

Assuming you handle saving as a BMessage in MessageReceived(), one way is to use a BMessageRunner which sends a “save” message every 30 seconds.

1 Like

Kate will do #2.

You have to set it up in the Settings, though, it’s not on by default.

1 Like