can-save-file? (augmentable only) in editor<%>
Called just before the editor is saved to a file. If the return
value is #f, the file is not saved. See also
on-save-file and
after-save-file.
(-> booleansendan-editorcan-save-file?filenameformat)
filename: path
format: symbol in'(guess standard text text-force-cr same copy)The
filenameargument is the name the file will be saved to. Seeload-filefor information aboutformat.The
filenameargument cannot be a string; it must be a path value, section 11.3.1 in PLT MzScheme: Language Manual.