Cédrick: Maybe it is has nothing to do, but a friend of mine once did a little Portia implementation. I think they have a similar Idea. Maybe I am wrong. Anyway, here is a paper about that: http://portal.acm.org/citation.cfm?id=118014.117959 Cheers Mariano On Sun, Jan 10, 2010 at 3:31 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
Hi Cédrick,
Indeed, this is something that one needs from time to time. However, I wonder, from a usability point of view, if this is the right way to do it. The problem is that without explaining someone what the menu item "Buffer it" does and how to use it (e.g., to evaluate "self buffer") it makes this feature hard to understand.
I think the idea is good, but how could it be made easy to understand and use?
Cheers, Adrian
BTW, the same effect can also be achieved by assigning the object to a global, e.g., "Buffer := self at: 4" and then in the popup select "declare global" if Buffer is not a global yet.
On Jan 10, 2010, at 14:25 , Cédrick Béler wrote:
Hi,
I've always found the need to copy/paste object (not string) between say, an inspector/explorer and a workspace.
So I did a small class called ObjectBuffer and some extension that provide this fonctionnality (see the attached picture). I added menu command so that 'buffer it' is accessible from text selection, inspector and explorer. I doubt the implementation is optimal but this is working so I decided to share and see if people would like it too
To get the object stored:
self buffer or ObjectBuffer buffer
hth,
-- Cédrick <bufferIt.PNG><ObjectBuffer-CedrickBeler.1.mcz><ParagraphEditor class-yellowButtonExpertMenu.st><Inspector- fieldListMenu.st><ObjectExplorer- genericMenu.st>_______________________________________________ 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