[PD] auto-completion with popup [was: 3 new gui-plugins]

Hans-Christoph Steiner hans at at.or.at
Sat May 7 02:24:23 CEST 2011

This is a big improvement, the creation-on-enter is awesome, that  
really should be included in the core.  Too bad it has be done is such  
a weird way (fake move the mouse, click, move it back, click).  On Mac  
OS X, I can't select the

Why did you need to override ::dialog_font::ok? Perhaps something  
needs to be fixed so you don't need to do that.

little bugs:
- type a letter in the box, highlight the letter with the mouse, then  
hit Tab, and I get a Tcl error
- arrow keys or typing doesn't work in pop-up menu

A couple little suggestions:
- for simplicity's sake, the namespace should be named the same as the  
plugin, perhaps the plugin could also be called 'completion'.

- pd will automatically post which plugins its loaded if you switch  
the Pd window to the debug level, so you probably don't need the  
pdtk_post at the end.


On May 6, 2011, at 11:17 AM, yvan volochine wrote:

> hey,
> I found the time to refine autocompletion-plugin so I ended up kinda  
> rewriting it (screenshot below).
> there are lots of changes, it would be nice if some of you could  
> test it and tell me what's wrong or what is weird etc...
> latest is here:
> http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion
> I tested it only on linux and pd-0.43.1-test2 (vanilla).
> list of changes:
> - new GUI (à la DesireData)
> - added support for osx and win32 (untested)
> - added bash-completion-mode behavior (more or less)
> - added *.cfg file for options
> - completions update while typing
> - added 'All' mode (requested: completions popup as soon as you type)
> - hiting 'Enter' without the popup unedits and select the object
> ...
> I'd like to track down bugs before releasing it this time ;)
> thanks for the help.
> cheers,
> _y
> <completion3.gif>_______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


"[W]e have invented the technology to eliminate scarcity, but we are  
deliberately throwing it away to benefit those who profit from  
scarcity."        -John Gilmore

More information about the Pd-list mailing list