Now I wonder how can I get noticed when code was edited and compiled
from a Nautilus window.
Previously I was doing:
browser addDependent: self domain.
and DrGeo received notice in the domain objet through the #update: method.
It does not work anymore.
How to do it now?
Thanks
Hilaire
Le 14/05/2014 11:45, Hilaire Fernandes a écrit :
> Hi,
>
> In DrGeo, I add this code snippet to:
>
> browser := Browser
> newOnClass: DrGeoUserScripts
> selector: mathItem script.
> browser addDependent: self domain.
> browser codeTextMorph owner owner extent: 450@350.
> browser topView setProperty: #morphicLayerNumber toValue: 5.
> >
>
>
> 1. open a minimal browser
> 2. set a dependency so DrGeo is noticed when the user edited and compile
> its script (so Drgeo can update the sketch)
> 3. rescale the browser so the user can still see his sketch
> 4. set the minimal browser in a permanent top position.
>
> As Browser is broken and not gonna be fixed, I need to redo the same
> with Nautilus, but this one is a big beast. Any tips how to do it?
>
> Thansk
>
> Hilaire
>
>
--
Dr. Geo http://drgeo.eu