<p>TextSearch looks for a string in text files. Typically it is invoked from <ahref="../tracker-add-ons.html">Tracker's Add-on</a> context menu on the selection of files or folders you want to search.</p>
<p>You enter a search string in the text box on top and hit <spanclass="key">RETURN</span> or click <spanclass="button">Search</span> to start. If <spanclass="menu">Show lines</span> is checked, the hits are automatically expanded to show the lines of the file containing the search string.</p>
<p>Only a few words on some of the otherwise self-explaining menu items:</p>
<tr><tdclass="onelinetop"><spanclass="menu">New window</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">N</span></td><td></td><td>Opens a new window where you can enter another string and search through the same files/folders.
</td></tr>
<tr><td><spanclass="menu">Set target...</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">F</span></td><td></td><td>Lets you choose a new set of files and folders to search through.</td></tr>
<tr><td><spanclass="menu">Trim selection</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">T</span></td><td></td><td>Removes all entries from the list that are not currently selected.</td></tr>
<tr><td><spanclass="menu">Open selection</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">O</span></td><td></td><td>Opens the currently selected files with their preferred application (same as a double-click). If it's a text editor supporting it (like Pe), you can jump to the exact line the search string was found.</td></tr>
<tr><td><spanclass="menu">Open files in Tracker</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">K</span></td><td></td><td>Opens the location of the currently selected files in Tracker.</td></tr>
<tr><tdclass="onelinetop"><spanclass="menu">Copy text to clipboard</span></td><td></td><td><spanclass="key">ALT</span><spanclass="key">B</span></td><td></td><td>Copies the current selection to the clipboard.</td></tr>
<tr><tdcolspan="3"class="onelinetop"><spanclass="menu">Skip folders starting with a dot</span></td><td></td><td>This is useful when working in a "unixy" environment, where often administrative files are hidden inside "<tt>.folders/</tt>". Source versioning systems like SVN and CVS are examples of applications using this and are also widely used in Haiku.</td></tr>
<tr><tdcolspan="3"><spanclass="menu">Escape search text</span></td><td></td><td>TextSearch uses the command line tool <spanclass="cli">grep</span>. For it, special characters like <tt>'"*\$?!</tt> and spaces have to be escaped with a <tt>\</tt>. Deactivating this setting means you have to do this yourself, but in exchange grants you the power of <ahref="http://en.wikipedia.org/wiki/Regular_expression"class="external free"title="Wikipedia: Regular expressions"rel="nofollow">regular expressions</a>.</td></tr>
<tr><tdcolspan="3"><spanclass="menu">Text files only</span></td><td></td><td>TextSearch is currently only useful for finding strings in plain text files. Deactivating this setting will have it look through any kind of file anyway.</td></tr>