On 2/2/2006 3:05:41 PM, Ted Green wrote:
>At 03:47 AM 2/2/2006, you
>I cannot replicate this
>problem. I suspect it is
>related to the new Temp file
>handling and options.
>My file-open code checks that
>the VEDIT_TEMP directory
>exists, and if not, it sets an
>internal working copy of
>Config(F_TEMP_DIR) to "0" to
>create temp files the old way.
>If either Config(F_TEMP_DIR)
>changes, file-open rechecks
>However, I didn't perform this
>sanity-check for the
>File-SaveAs code; I will add
>that in the next release.
>While I'm not convinced a
>File-SaveAs check of
>VEDIT_TEMP would fix your
>problem, it is a trivial fix.
>Of course, if you can give me
>the exact steps to replicate
>the problem, then I can fix
>it. I would need your
>vedit.cfg and vedit.ini files
I have experienced another lost file.
I had opened Vedit & pasted in some text, from a web page.
Executed Chdir("D:\progs\Vedit\text") from Tools menu, then "Save current file" button.
This was successful.
I opened a file in another directory
(This was launched from ZTreeWin using START C:\Vedit\Vpw.exe "D:\progs\ZTW\text\ZAAP relayer.txt")
I opened a new window/buffer and commenced by cutting & pasting from the open file.
I then spent some time entering text and then pressed the "Save current file" button, entering a file name ZaapR.txt")
I received an error -"Could Not Create File" and ended up with an empty buffer.
I tried an undo, without any result.
I looked in:-
C:\Documents and Settings\ian\Local Settings\Temp\VeditTmp
There was a temp file (0 bytes), but no evidence of the file in other directories.
I exited Vedit, and repeated the above steps, but without problem this time, so I can't reliably replicate the problem.
It is annoying that the text is lost.