after-save-file in editor: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.
( -> voidsend an-editor:file-mixin after-save-file)
Checks if the newly saved file is write-only in the filesystem. If
so, locks the editor with the
lock method. Otherwise unlocks the buffer
For each canvas returned from
get-canvases it checks to see if the
canvas%'s
get-top-level-window matches the
frame:editor<%> interface. If so, it calls
set-label with the last part of the filename (ie, the name of the file, not the
directory the file is in).