[Pharo-project] paragraph replacement?

Stéphane Ducasse stephane.ducasse at inria.fr
Mon May 23 23:04:57 CEST 2011


Yes this would be good because I was always sad to remove it.
Now this is not sure that we need the TextURL 

Stef
>> Hi,
>> 
>> Yes, it triggers the hyperlinks, but the method is not implemented and I could not find it in older images either. That is why I asked if someone knows how should the method behave.
> 
> 
> In older images (1.2), there is an #actOnClickFor: on the TextAction Hierarchy.
> 
> TextDoit does for example:
> 
> actOnClickFor: anObject
> 	"Note: evalString gets evaluated IN THE CONTEXT OF anObject
> 	 -- meaning that self and all instVars are accessible"
> 	Compiler evaluate: evalString for: anObject logged: false.
> 	^ true 
> 
> 
> It seems the interface was extended to send the editor instance and the paragraph to the Link, so that
> a link could e.g. change what is displayed.
> 
> What kind of TextAction do you have?
> 
> You could just implement there whatever action makes sense (ignoring the editor and paragraph parameter
> and do exactly what #actOnClickFor: did in the old ST80 Paragraph).
> 
> The whole TextAction stuff needs a pass... maybe with Moose as a Client, we can do that pass...
> 	
> 	Marcus
> 
> 
> --
> Marcus Denker  -- http://www.marcusdenker.de
> INRIA Lille -- Nord Europe. Team RMoD.
> 
> 




More information about the Pharo-project mailing list