The following patch incorporates Tony's -command fix and a
 small modification to the save procedure that forces vtcl
 into "edit" mode before saving.

 I think Heidrich's problem had to do with losing a toplevel
 and procedures. Since this could not be caused by the -command
 editing code, I spent some time last night poking and prodding
 at the save code.

 Unfortuately or fortunately, I was unable to get vtcl to lose
 any pieces of my application. Any information on how to duplicate
 this type of bug would be greatly appreciated.


Index: vtcl/lib/command.tcl
===================================================================
RCS file: /home/stewart/CVS/vtcl/lib/command.tcl,v
retrieving revision 1.10
diff -r1.10 command.tcl
60c60
<     if [winfo exists $base] {wm deiconify $base; return}
---
>     if [winfo exists $base] {wm deiconify $base; return -1}
63c63
<     wm transient $base .vTcl
---
> #    wm transient $base .vTcl
Index: vtcl/lib/file.tcl
===================================================================
RCS file: /home/stewart/CVS/vtcl/lib/file.tcl,v
retrieving revision 1.14
diff -r1.14 file.tcl
176a177
>       vTcl:setup_bind_tree .


 -stewart-


Reply via email to