1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"zh-CN" xml:
lang=
"zh-CN">
7 * Copyright 2010, Haiku. All rights reserved.
8 * Distributed under the terms of the MIT License.
11 * Humdinger <humdingerb@gmail.com>
16 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
17 <meta http-equiv=
"Content-Style-Type" content=
"text/css" />
18 <meta name=
"robots" content=
"all" />
20 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0" />
21 <link rel=
"stylesheet" type=
"text/css" href=
"../../Haiku-doc.css" />
26 <div><span>用户指南
</span></div>
31 <ul class=
"lang-menu">
32 <li class=
"now"><img src=
"../../images/flags/zh_CN.png" alt=
"" /> 中文 [中文]
</li>
33 <li><a href=
"../../ca/applications/textsearch.html"><img src=
"../../images/flags/ca.png" alt=
"" />Català
</a></li>
34 <li><a href=
"../../de/applications/textsearch.html"><img src=
"../../images/flags/de.png" alt=
"" />Deutsch
</a></li>
35 <li><a href=
"../../en/applications/textsearch.html"><img src=
"../../images/flags/gb.png" alt=
"" />English
</a></li>
36 <li><a href=
"../../es/applications/textsearch.html"><img src=
"../../images/flags/es.png" alt=
"" />Español
</a></li>
37 <li><a href=
"../../fr/applications/textsearch.html"><img src=
"../../images/flags/fr.png" alt=
"" />Français
</a></li>
38 <li><a href=
"../../it/applications/textsearch.html"><img src=
"../../images/flags/it.png" alt=
"" />Italiano
</a></li>
39 <li><a href=
"../../hu/applications/textsearch.html"><img src=
"../../images/flags/hu.png" alt=
"" />Magyar
</a></li>
40 <li><a href=
"../../pl/applications/textsearch.html"><img src=
"../../images/flags/pl.png" alt=
"" />Polski
</a></li>
41 <li><a href=
"../../pt_PT/applications/textsearch.html"><img src=
"../../images/flags/pt_PT.png" alt=
"" />Português
</a></li>
42 <li><a href=
"../../pt_BR/applications/textsearch.html"><img src=
"../../images/flags/pt_BR.png" alt=
"" />Português (Brazil)
</a></li>
43 <li><a href=
"../../ro/applications/textsearch.html"><img src=
"../../images/flags/ro.png" alt=
"" />Română
</a></li>
44 <li><a href=
"../../sk/applications/textsearch.html"><img src=
"../../images/flags/sk.png" alt=
"" />Slovenčina
</a></li>
45 <li><a href=
"../../fi/applications/textsearch.html"><img src=
"../../images/flags/fi.png" alt=
"" />Suomi
</a></li>
46 <li><a href=
"../../sv_SE/applications/textsearch.html"><img src=
"../../images/flags/sv_SE.png" alt=
"" />Svenska
</a></li>
47 <li><a href=
"../../ru/applications/textsearch.html"><img src=
"../../images/flags/ru.png" alt=
"" />Русский
</a></li>
48 <li><a href=
"../../uk/applications/textsearch.html"><img src=
"../../images/flags/uk.png" alt=
"" />Українська
</a></li>
49 <li><a href=
"../../jp/applications/textsearch.html"><img src=
"../../images/flags/jp.png" alt=
"" />日本語
</a></li>
52 «
<a href=
"terminal.html">终端
</a>
53 ::
<a href=
"../applications.html#list-of-apps" class=
"uplink">应用程序
55 ::
<a href=
"tv.html">虚拟电视
</a> »
62 <h2><img src=
"../../images/apps-images/textsearch-icon_64.png" alt=
"textsearch-icon_64.png" width=
"64" height=
"64" />文本搜索
</h2>
63 <table summary=
"layout" border=
"0" cellspacing=
"0" cellpadding=
"2">
64 <tr><td>桌面栏:
</td><td style=
"width:15px;"></td><td><i>没有入口,通常通过Tracker的附加组进行启动
</i></td></tr>
65 <tr><td>位置:
</td><td></td><td><span class=
"path">/boot/system/apps/TextSearch
</span></td></tr>
66 <tr><td>设置:
</td><td></td><td><span class=
"path">~/config/settings/TextSearch
</span></td></tr>
69 <p>文本搜索用于查询文本文件中的字符串。通常,它通过选中文件或者文件夹右键菜单的
<a href=
"../tracker-add-ons.html">Tracker附加组件
</a> 实现启动。
</p>
71 <img src=
"../images/apps-images/textsearch.png" alt=
"textsearch.png" />
73 <p>在顶部的文本框中输入搜索的字符,然后按下
<span class=
"key">RETURN
</span> 或者点击
<span class=
"button">Search
</span> 启动搜索。如果选中了
<span class=
"menu">Show lines
</span> ,匹配记录将会自动展开,显示包含该搜索字符的文件。
</p>
75 <p>对于其他的菜单项,在下面将会给出相应的解释:
</p>
76 <table summary=
"menus" border=
"0" cellpadding=
"2" cellspacing=
"0">
77 <tr><td colspan=
"5"><h3>File 菜单
</h3></td></tr>
78 <tr><td class=
"onelinetop"><span class=
"menu">New window
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">N
</span></td><td> </td><td>打开新窗口,您可以输入其他的字符,然后在相同的文件/文件夹中进行搜索。
</td></tr>
79 <tr><td><span class=
"menu">Set target...
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">F
</span></td><td></td><td>让你选择新的目标文件和文件夹进行搜索。
</td></tr>
80 <tr><td colspan=
"5"><h3>Action 菜单
</h3></td></tr>
81 <tr><td><span class=
"menu">Trim selection
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">T
</span></td><td> </td><td>删除列表中目前未选中的所有项目。
</td></tr>
82 <tr><td><span class=
"menu">Open selection
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">O
</span></td><td></td><td>在首选程序中打开当前选中文件(与双击文件相同)。 如果它支持文本编辑器(例如 Pe),您可以跳转至匹配字符所在的确切的行。
</td></tr>
83 <tr><td><span class=
"menu">Open files in Tracker
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">K
</span></td><td></td><td>在 Tracker 中打开当前选中文件所在的文件夹。
</td></tr>
84 <tr><td class=
"onelinetop"><span class=
"menu">Copy text to clipboard
</span></td><td></td><td><span class=
"key">ALT
</span> <span class=
"key">B
</span></td><td></td><td>复制当前选中项目至剪贴板。
</td></tr>
85 <tr><td colspan=
"5"><h3>Settings 菜单
</h3></td></tr>
86 <tr><td colspan=
"3" class=
"onelinetop"><span class=
"menu">Skip folders starting with a dot
</span></td><td> </td><td>如果处在 “unixy” 环境下,所有的管理员文件隐藏在 “
<tt>.folders/
</tt>” 下,它将会非常有用。 源版本控制系统 SVN 和 CVS 属于此类程序,而且在Haiku中使用非常广泛。
</td></tr>
87 <tr><td colspan=
"3"><span class=
"menu">Escape search text
</span></td><td> </td><td>文本搜索使用了命令行工具
<span class=
"cli">grep
</span>。对于它,特殊字符如
<tt>'
"*\$?!</tt> 以及空格必须要使用 <tt>\</tt> 来进行控制显示。而撤销该设置则意味着您必须手动的进行操作,但是作为交换,它给予了您强大的 <a href="http://en.wikipedia.org/wiki/Regular_expression
" class="external free
" title="Wikipedia: Regular expressions
" rel="nofollow
">正则表达式</a>。</td></tr>
88 <tr><td colspan="3"><span class="menu
">Text files only</span></td><td> </td><td>文本搜索目前仅可用于查找普通文本文件中的字符。如果撤销该设置,它将会对所有类型的文件进行搜索。</td></tr>
89 <tr><td colspan="5"><h3>History 菜单</h3></td></tr>
90 <tr><td colspan="4"></td><td>包含最近查询的字符。</td></tr>
91 <tr><td colspan="5"><h3>Encoding 菜单</h3></td></tr>
92 <tr><td colspan="4"></td><td>根据需要选择不同的字符编码。</td></tr>
98 <div class="inner
"><span>
99 « <a href="terminal.html
">终端</a>
100 :: <a href="../applications.html#list-of-apps
" class="uplink
">应用程序
102 :: <a href="tv.html
">虚拟电视</a> »