Alexandre, How far back does the workspace history go? Can it be cleared? Perhaps unique to my working style, I end up with a workspace that stays open and becomes a journal; I save its contents to disk every so often, and finally it gets so big that I start a new one under a new file name. They are not quite as useful as they once were because I have started using comments in methods to hold expressions to make things happen. It is nice to have the resulting "context sensitive help" but the journal idea suffers for it. Back on topic, I typically inspect rather than print, probably for just this type of reason. Most changes to text in the debugger are "real" as a result, so a warning is appreciated more than dreaded. Most things I type in an inspector I am willing to lose rather than be bothered every time I close one, especially since I close so many because I am using them to avoid making changes in the debugger (now that you've gotten me to think about it). Putting all of that together, I think I would want the following: * debugger and browser code panes warn * workspaces warn on close; history is a nice addition * inspectors have history and do not warn on close Just what a history means for inspectors (class level, chronological, sorted based on the species of the inspected object??) is open for debate. Bill ---- Wilhelm K. Schwab, Ph.D. bschwab AT anest DOT ufl DOT edu ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Alexandre Bergel [alexandre@bergel.eu] Sent: Sunday, February 15, 2009 4:23 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Boring confirmation message... 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project