Hi,
is there a way to customize the save/restore mechanism of Playground? Because Playground is #1 place where I consistently lose code. If the image crashes (rare) or freezes (quite common) then I almost never get the code back which is quite annoying. Right now I have an external text editor to which I copy&paste the code frequently… which is _very_ stupid.
I would like to have it persisted on the disk at least every time the contents gets evaluated, optimally every time I have a usable code.
Ideally if this would be done on Playground side; but if that's a long shot, is there a way to hook into the saving mechanism and implement it myself? That would also allow some platform-specific customizations, like storing every change to /dev/shm (ramdisk) so I can do a meaningful undo/redo.
Thanks, Peter