I am using VSE version 6.0c (I know it is 6 years old).
I am using it with one file per window off. This definitely provides the behavior that I am comfortable with.
Everything works fine except that when only one window exists and I accidentally close it - no windows are shown even though there are open buffer(s). This is not really an issue, just a small annoyance.
The only way I can think of solving this is by hooking up to window close event. According to my understanding this can only be done from a DLL - specifically need to call vsCallbackSet with VSCALLBACK_APP_DELETE_WINDOW. The callback will call a Slick-C function that will open some buffer in a new window.
In my (Slick-C) initialization code will load the DLL, etc.
All this seems a trifle too much for this small problem.
Is there a way to do something similar by only using Slick-C (i.e. no DLLs)?
Better yet, perhaps there is some def_ variable which will cause the editor to automatically switch to some open buffer when the (last) window is closed?
Thank you very much in advance.
Beni