[PD-dev] revised search-plugin.tcl
Jonathan Wilkes
jancsika at yahoo.com
Tue Jun 21 00:55:47 CEST 2011
--- On Mon, 6/20/11, Hans-Christoph Steiner <hans at at.or.at> wrote:
> From: Hans-Christoph Steiner <hans at at.or.at>
> Subject: Re: [PD-dev] revised search-plugin.tcl
> To: "Jonathan Wilkes" <jancsika at yahoo.com>
> Cc: "pd-dev" <pd-dev at iem.at>
> Date: Monday, June 20, 2011, 4:37 PM
>
>
> That's quite nice, looks and works very well. You've
> taken my sketch and made it something far beyond what it was
> originally.
>
> One thing, I notice that for objects' help files, you strip
> the paths.
I strip out everything except the immediate parent. That way you can
still tell the difference between libs-- intimacy/love-help.pd vs.
tennis/love-help.pd. But I don't see a reason to display
/usr/local/softwares/classic-90s-interfaces/tinytinyscrollbarzplzthx/pd/doc/externals/Dr.Externals/...
> That make sense, except it does the same
> for all_about* patches. Also, that could get confusing
> when a search result finds something in an abstraction and
> its help file.
I'm just testing it on pd vanilla at the moment: foo.pd displays as foo.pd,
and foo-help.pd displays as foo-help.pd. Is it different for you?
I'll rethink the all_about* regsub. Probably just displaying "All About
foo" will look decent and not too repetitive...
-Jonathan
>
> .hc
>
> On Jun 16, 2011, at 3:50 PM, Jonathan Wilkes wrote:
>
> > Here's a revised version of the search-plugin that
> Hans started:
> >
> > * fixed problem with double results if a path dir was
> a subdir of another
> > * can search for phrases by using double quotes
> > * search for whole words or partial matches
> > * search for all or any terms
> > * better scrollbar (ttk::scrollbar)
> > * Google-style search history (press the down-arrow in
> the search box to
> > make it appear, Escape to make it go away)
> > * hacked a proc to get <control-delete> to
> delete previous word
> >
> > Requires tcl/tk 8.5. Works best with the revised pddp
> docs (i.e., if you
> > want to search by the keywords listed you'll need
> them).
> >
> >
> -Jonathan<search-plugin.tcl>_______________________________________________
> > Pd-dev mailing list
> > Pd-dev at iem.at
> > http://lists.puredata.info/listinfo/pd-dev
>
>
>
>
>
> ----------------------------------------------------------------------------
>
> "[T]he greatest purveyor of violence in the world today
> [is] my own government." - Martin Luther King, Jr.
>
>
>
>
More information about the Pd-dev
mailing list