Handle multiple openings of the same file better.
Brought to you by:
sf_jeff
The problem comes into play when you open a problem
multiple times. Whether on the first access or the
second access, the file is eventually overwritten and
your source code is lost.
There are several ways this could be handled. Probably
the best way would be to re-integrate the sections that
were cut on the previous submission to build the file as
it had been.
The second best way would probably be to leave the
source in the actual code file, sans cut areas, and put
all the auto-generated stuff into the .bak file directly,
without a rename.
I would also be interested in hearing other methods.