on-snip-modified in editor<%>
This method is called whenever a snip within the editor reports
that it has been modified (by calling its adminstrator's
modified method). The method arguments are the snip that reported a
modification-state change, and the snip's new modification state.
See also
set-modified.
( -> void
send an-editor on-snip-modified snip modified?)
snip : snip% object
modified? : boolean
If modified? is true and the editor was not already
modified (i.e., its
is-modified? method reports #f), then the
set-modified method is called with #t. If the editor was already modified,
then the internal modify-counter is incremented.
If modified? is #f, and if the modify-counter is
1, then
the
set-modified method is called with #f (on the assumption that the
modify-counter was set to 1 by an earlier call to
this method for the same snip).