On 20 janv. 2010, at 11:29, Mariano Martinez Peck wrote:

> Hi: I found that several times, we need to run some piece of code after a 
> slide. The only way I see doing this is to write it in a txt , and, hopefully 
> (many times, the commiter or the integrator forget about it), remember to put 
> that in the email or issue, when I let you know the fix is ready.  Is there a 
> better way ? 
> 
> What about having a method in ScriptLoader where we can commit that together 
> with the slice? Then when someone integrates that, it will see that, and will 
> move that piece of code, from there, to the update or script methods.
> 
> I don't know. What do you think ?


If I understood correctly, Monticello already has this feature for package so I 
guess it should work for slices.

Click on a package in MC browser, then click on the 'Scripts' button in the 
toolbar, you get menu to edit the preamble, postscript, as well as 
preambleOfRemoval and postscriptOfRemoval


> 
> Would be cool, maybe, to reify the "slice" concept, where you can have:  
> pre-doits, a collections of "pieces of code" (several times we have, part1, 
> part2, tc), post-doits, etc...But I guess that requires a lot of effort. 
> 
> Cheers
> 
> Mariano
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
 Simon




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

Reply via email to