On Jun 20, 2011, at 6:55 PM, Jonathan Wilkes wrote:
--- On Mon, 6/20/11, Hans-Christoph Steiner <h...@at.or.at> wrote:
From: Hans-Christoph Steiner <h...@at.or.at>
Subject: Re: [PD-dev] revised search-plugin.tcl
To: "Jonathan Wilkes" <jancs...@yahoo.com>
Cc: "pd-dev" <pd-dev@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/...
One thing that might be useful to see is whether the library is
included or whether its a user-installed lib.
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...
Yeah, that sounds good.
.hc
-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@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.
----------------------------------------------------------------------------
"[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
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev