after-load-file in editor:file-mixin
Called just after the editor is loaded from a file. The argument to
the method specifies whether the load was successful or not. See also
can-load-file? and
on-load-file.
( -> voidsend an-editor:file-mixin after-load-file)
Checks if the newly loaded 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).