Hi Bill
There is a preference for confirm on close or something like that - I think. Your test for change in value is an interesting idea, but I am often willing/expecting to toss whatever I type into an inspector. I very much want the system to warn me if I am about to discard code in the debugger or browser source pane, and certainly in workspaces.
I agree with you, and everybody wants this behavior. If I type something in a debugger or browser, I should get a warning to prevent loss upon closing it. However, if I just do a 'printIt' of an expression (without typing anything else), i do not think there is a reason to raise a warning if I want to close the window. I see myself confirming "yes, I am sure I want to discard the content" without having typed any code. Am I the only one to think this? For workspace, I added an history few weeks ago. You can now close a workspace without having a warning. The content is inserted into a history collection, that once can retrieve at anytime. I hope this behavior will satisfy you. Cheers, Alexandre
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr ] On Behalf Of Alexandre Bergel [Alexandre.Bergel@inria.fr] Sent: Saturday, February 14, 2009 2:09 PM To: Pharo Development Subject: [Pharo-project] Boring confirmation message...
Hi All,
Often, I do a print-it in a debugger or browser. For some mysterious reason, I subsequently press the delete key that erases what was just print. Some changes occurred therefore. When I then select another method (or frame if I am in a debugger), a confirmation whether I want to save my changes is done. I find this very boring. Am i the only one ?
A simple check whether the textual content has been modified would prevent this stupid question.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.