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. 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.
.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.