From f682d0013eab10df56a4e911bc80d4b4fce1fa4e Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Thu, 29 Nov 2012 20:50:48 +0000 Subject: revised README and added filesystem keyword to search-plugin homepage svn path=/trunk/scripts/guiplugins/search-plugin/; revision=16618 --- README.txt | 23 ++++++++++++++++++----- search-plugin.tcl | 2 ++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/README.txt b/README.txt index ec36910..e168a99 100644 --- a/README.txt +++ b/README.txt @@ -1,11 +1,24 @@ -This is a plugin that searches all of the .pd and .txt files that are in the -included docs and in any libraries that are currently in Pd's path. The -syntax of the search is either a simple keyword search, i.e. "video" or a Tcl -regular expression (regexp). +This is a plugin that searches all of the .pd, .max, .txt, and .html files that +are in the included docs and in any libraries that are currently in Pd's path. +The syntax of the search can be a keyword search or a Tcl regular expression +(regexp). Here are some examples: + +amplitude <-- keyword "amplitude" +amplitude modulation <-- keywords "amplitude" and "modulation" +"amplitude modulation" <-- phrase "amplitude modulation" +melod(y|ies) <-- regular expression +keywords[^;]*(network).*?; <-- complex regular expression + +A lot of care has been taken so that the average user can get by without +directly using regular expressions at all. For example, typing "melod(y|ies)" +in the search bar is equivalent to typing "melody melodies" and unchecking +the box for "Match all terms". Additionally, a complex regular expression +like the one above can be triggered by clicking one of various links under +the heading "Keywords Search" on the homepage of the search window. You can find out about the Tcl regexp syntax here for advanced searches: http://tcl.tk/man/tcl8.5/TclCmd/re_syntax.htm Hans-Christoph Steiner - +Jonathan Wilkes diff --git a/search-plugin.tcl b/search-plugin.tcl index efd2f40..1cf1096 100644 --- a/search-plugin.tcl +++ b/search-plugin.tcl @@ -552,6 +552,8 @@ proc ::dialog_search::intro { t } { {data_structure "create or manage data structures"} \ {dynamic_patching "dynamic instantiation/deletion\ of objects or patches"} \ + {filesystem "object that reads to and/or writes from the\ + filesystem"} \ {filter "object that filters incoming data"} \ {GUI "graphical user interface"} \ {list_op "object that manipulates, outputs, or stores a list"} \ -- cgit v1.2.1