From 32bc203ab36a0713d62c4f6c48a78b5626602c48 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sat, 23 Aug 2008 02:49:40 +0000 Subject: [PATCH] svn: r11395 original commit: a79b0a4d10ff7478028d5617ea785f7319f68536 --- collects/scribblings/framework/editor.scrbl | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/framework/editor.scrbl b/collects/scribblings/framework/editor.scrbl index 00839f6c..c597d8bc 100644 --- a/collects/scribblings/framework/editor.scrbl +++ b/collects/scribblings/framework/editor.scrbl @@ -74,7 +74,16 @@ } @defmethod*[(((on-close) void))]{ - This method is called when an editor is closed. See also + + This method is called when an editor is closed. + Typically, this method is called when the frame + containing the editor is closed, but in some cases an + editor is considered ``closed'' before the frame it is + in is closed (eg, when a tab in DrScheme is closed), and + thus @method[editor:basic<%> on-close] will be called at that point. + + + See also @method[editor:basic<%> can-close?] and @method[editor:basic<%> close]. @@ -90,7 +99,7 @@ the editor (asking if it should be saved, for example). See also - @method[editor:basic<%> on-close]and + @method[editor:basic<%> on-close] and @method[editor:basic<%> close].