after-save-file (augments, and augmentable only) in text:file-mixin
Called just after the editor is saved to a file.
The argument to the method originally specified whether the save was
successful, but failures now trigger exceptions such that the method is
not even called. Consequently, the argument is always #t.
See also
can-save-file? and
on-save-file.
(voidsenda-text:file-mixinafter-save-fileChecks if the newly saved file is write-only in the filesystem. If so, locks the editor with the
lockmethod. Otherwise unlocks the bufferFor each canvas returned from
get-canvasesit checks to see if thecanvas%'sget-top-level-windowmatches theframe:editor<%>interface. If so, it callsset-labelwith the last part of the filename (ie, the name of the file, not the directory the file is in).