aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wilkes <jancsika1@users.sourceforge.net>2012-11-29 20:50:48 +0000
committerJonathan Wilkes <jancsika1@users.sourceforge.net>2012-11-29 20:50:48 +0000
commitf682d0013eab10df56a4e911bc80d4b4fce1fa4e (patch)
treea6e1d97177dbd5db69b17ddeb8fbeb53fb9adf62
parent0399e4e3b7c91b308aaea4b6b61671f37b6a90b7 (diff)
revised README and added filesystem keyword to search-plugin homepage
svn path=/trunk/scripts/guiplugins/search-plugin/; revision=16618
-rw-r--r--README.txt23
-rw-r--r--search-plugin.tcl2
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 <hans@eds.org>
-
+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"} \