I added your code to the bug entry
On Jan 20, 2009, at 9:22 AM, Torsten Bergmann wrote:

> Hi Stef,
>
>> Now it is nicely integrated in pharo.
>
> Not yet - why not open it in a separate window instead of a plain  
> morph on the desk?
> This would be more consistent with inspect it, debug it and explore  
> it from the same menu.
> You can also collapse the watch window and move it easily around...
>
> see code below.
>
> Bye
> Torsten
>
> -----------------------------------------------------------------------------------------
> watchIt
>
>       | result |
>       
>       self handleEdit:
>               [result := textMorph editor compileSelectionAsBlock.
>               ((result isKindOf: FakeClassPool) or: [result == #failedDoit])
>                       ifTrue: [^self flash]].
>       (RectangleMorph new)
>               layoutPolicy: TableLayout new;
>               layoutInset: 3;
>               listDirection: #topToBottom;
>               hResizing: #shrinkWrap;
>               vResizing: #shrinkWrap;
>               addMorphBack: (StringMorph contents: textMorph editor 
> selection);
>               addMorphBack: ((UpdatingStringMorph on: result selector: #value)
>                       stepTime: 500;
>                       maximumWidth: nil;                      
>                       growable: true);
>               color: Color white;
>               borderColor: Color black;
>               openInWindow
>
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit  
> allen: http://www.gmx.net/de/go/multimessenger
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to