[PD-dev] cut/copy/paste from text in canvas (i.e. obj, msg, comment, etc)

Hans-Christoph Steiner hans at at.or.at
Tue Sep 1 23:21:54 CEST 2009


On Sep 1, 2009, at 5:03 PM, Mathieu Bouchard wrote:

> On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote:
>
>> I was wondering if there was any reason why doing a copy when  
>> editing text needs to be sent to 'pd' at all.  Just a tk_textCopy  
>> should do it, no need to send a message to 'pd' to have it reply to  
>> tell Tcl to do something.  There is also tk_textCut and  
>> tk_textPaste which could be used, but they would then have to send  
>> a message to 'pd' to announce the change.
>
> Why look for reasons when you can just nuke the offending code.



Sometimes there were good reasons to do strange things in the code.   
Knowledge is power.  Also, sometimes there are dependencies...


.hc


----------------------------------------------------------------------------

Mistrust authority - promote decentralization.  - the hacker ethic






More information about the Pd-dev mailing list