Dear Svenn,
> Question is, would it be possible to quietly ignore the fact that a
> prolog is missing if the file is empty and accept the filename into
> the dialog so that saving is just a matter of shift-W of save all?
Yes, it is quite simple to check that a file is zero size and, if so,
handle it like a non-existant file.
---Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev