[PD-dev] Code responsible for calling canvas_reselect

IOhannes m zmölnig zmoelnig at iem.at
Fri Jan 18 23:30:30 CET 2019

On 1/18/19 8:29 PM, Henri Augusto Bisognini wrote:
> When i use PD (Win 7) i can select an object and hit Ctrl+Enter to start/stop editing that object's text.

it doesn't do that here.

> I can't seem to find the code responsible for that behavior.
> Runningpd with the debug flag i can see that the gui sends a "$canvasname reselect" message to the patch (which is bound to "canvas_reselect" in "g_editor.c").
> I've tried searching "reselect" and "Return" (case sensitive) for all the sources, checked pd_bindings.tcl but could find it.
> Where and how exactly this reselect messages are sent from the gui?

have you tried looking at your completion-plugin?

$ grep reselect completion-plugin.tcl
    pdsend "$::focused_window reselect"
bind all <$::modifier-Key-Return> {pdsend "$::focused_window reselect"}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20190118/f4f8c828/attachment.sig>

More information about the Pd-dev mailing list