[PD-dev] Text box keybinding silent failure

Jonathan Wilkes jancsika at yahoo.com
Sat Oct 1 22:05:24 CEST 2011


----- Original Message -----

> From: Marvin Humphrey <marvin at rectangular.com>
> To: Hans-Christoph Steiner <hans at at.or.at>
> Cc: pd-dev at iem.at
> Sent: Saturday, October 1, 2011 3:00 PM
> Subject: Re: [PD-dev] Text box keybinding silent failure
> 
> On Fri, Sep 30, 2011 at 12:59:28PM -0400, Hans-Christoph Steiner wrote:
>>  Hm, this might point to what Ctrl-A isn't going to Home on Mac OS X.
>> 

[...]

> There's an "icursor" invocation in that output, but it originates 
> in
> src/g_rtext.c in the function rtext_senditup:
> 
>                 sys_vgui(".x%lx.c icursor %s %d\n", canvas, 
> x->x_tag,
>                     u8_charnum(x->x_buf, selstart_b));
> 
> Maybe that script has to be wrapped in a "pdsend"? 
> 
>     $tkcanvas bind $mytag <Control-a> "+pdsend {$tkcanvas icursor 
> $mytag 0}"
> 

"icursor" is a tk canvas subcommand, not a pd canvas method:

http://www.tcl.tk/man/tcl8.5/TkCmd/canvas.htm#M44

-Jonathan




More information about the Pd-dev mailing list