f62c154804
This also applies the change in #15393
113 lines
7.6 KiB
HTML
113 lines
7.6 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
|
||
<head>
|
||
<!--
|
||
*
|
||
* Copyright 2010-2019, Haiku. All rights reserved.
|
||
* Distributed under the terms of the MIT License.
|
||
*
|
||
* Authors:
|
||
* Humdinger <humdingerb@gmail.com>
|
||
* Translators:
|
||
* Pengphei Han
|
||
*
|
||
-->
|
||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||
<meta name="robots" content="all" />
|
||
<title>文本搜索</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
|
||
</head>
|
||
<body>
|
||
|
||
<div id="banner">
|
||
<div><span>用户指南</span></div>
|
||
</div>
|
||
|
||
<div class="nav">
|
||
<div class="inner">
|
||
<ul class="lang-menu">
|
||
<li class="now"> 中文 [中文] <span class="dropdown-caret">▼</span></li>
|
||
<li><a href="../../id/applications/textsearch.html">Bahasa Indonesia</a></li>
|
||
<li><a href="../../ca/applications/textsearch.html">Català</a></li>
|
||
<li><a href="../../de/applications/textsearch.html">Deutsch</a></li>
|
||
<li><a href="../../en/applications/textsearch.html">English</a></li>
|
||
<li><a href="../../es/applications/textsearch.html">Español</a></li>
|
||
<li><a href="../../fr/applications/textsearch.html">Français</a></li>
|
||
<li><a href="../../fur/applications/textsearch.html">Furlan</a></li>
|
||
<li><a href="../../it/applications/textsearch.html">Italiano</a></li>
|
||
<li><a href="../../hu/applications/textsearch.html">Magyar</a></li>
|
||
<li><a href="../../pl/applications/textsearch.html">Polski</a></li>
|
||
<li><a href="../../pt_PT/applications/textsearch.html">Português</a></li>
|
||
<li><a href="../../pt_BR/applications/textsearch.html">Português (Brazil)</a></li>
|
||
<li><a href="../../ro/applications/textsearch.html">Română</a></li>
|
||
<li><a href="../../sk/applications/textsearch.html">Slovenčina</a></li>
|
||
<li><a href="../../fi/applications/textsearch.html">Suomi</a></li>
|
||
<li><a href="../../sv_SE/applications/textsearch.html">Svenska</a></li>
|
||
<li><a href="../../tr/applications/textsearch.html">Türkçe</a></li>
|
||
<li><a href="../../ru/applications/textsearch.html">Русский</a></li>
|
||
<li><a href="../../uk/applications/textsearch.html">Українська</a></li>
|
||
<li><a href="../../jp/applications/textsearch.html">日本語</a></li>
|
||
</ul>
|
||
<span>
|
||
« <a href="terminal.html">终端</a>
|
||
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
||
</a>
|
||
:: <a href="tv.html">虚拟电视</a> »
|
||
</span></div>
|
||
</div>
|
||
|
||
<div id="content">
|
||
<div>
|
||
<div class="box-info">本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。</div>
|
||
|
||
<h2><img src="../../images/apps-images/textsearch-icon_64.png" alt="textsearch-icon_64.png" width="64" height="64" />文本搜索</h2>
|
||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||
<tr><td>桌面栏:</td><td style="width:15px;"></td><td><i>没有入口,通常通过Tracker的附加组进行启动</i></td></tr>
|
||
<tr><td>位置:</td><td></td><td><span class="path">/boot/system/apps/TextSearch</span></td></tr>
|
||
<tr><td>设置:</td><td></td><td><span class="path">~/config/settings/TextSearch</span></td></tr>
|
||
</table>
|
||
<p><br /></p>
|
||
<p>文本搜索用于查询文本文件中的字符串。通常,它通过选中文件或者文件夹右键菜单的 <a href="../tracker-add-ons.html">Tracker附加组件</a> 实现启动。</p>
|
||
|
||
<img src="../images/apps-images/textsearch.png" alt="textsearch.png" />
|
||
|
||
<p>在顶部的文本框中输入搜索的字符,然后按下<span class="key">RETURN</span> 或者点击 <span class="button">Search</span> 启动搜索。如果选中了<span class="menu">Show lines</span> ,匹配记录将会自动展开,显示包含该搜索字符的文件。</p>
|
||
|
||
<p>对于其他的菜单项,在下面将会给出相应的解释:</p>
|
||
<table summary="menus" border="0" cellpadding="2" cellspacing="0">
|
||
<tr><td colspan="5"><h3>File 菜单</h3></td></tr>
|
||
<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>
|
||
<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>Lets you choose a new set of files and folders to search through. Alternatively you can drag and drop files/folders into the window.</td></tr>
|
||
<tr><td colspan="5"><h3>Action 菜单</h3></td></tr>
|
||
<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>
|
||
<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>
|
||
<tr><td><span class="menu">Show 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>
|
||
<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>
|
||
<tr><td colspan="5"><h3>Settings 菜单</h3></td></tr>
|
||
<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>
|
||
<tr><td colspan="3"><span class="menu">Regular expression</span></td><td> </td><td>TextSearch uses the command line tool <span class="cli">grep</span>. For it, special characters like <tt>'"*\$?!</tt> and spaces have to be escaped with a <tt>\</tt>. Activating this setting means you have to do this yourself, but in exchange grants you the power of <a href="http://en.wikipedia.org/wiki/Regular_expression" class="external free" title="Wikipedia: Regular expressions" rel="nofollow">regular expressions</a>.</td></tr>
|
||
<tr><td colspan="3"><span class="menu">Text files only</span></td><td> </td><td>文本搜索目前仅可用于查找普通文本文件中的字符。如果撤销该设置,它将会对所有类型的文件进行搜索。</td></tr>
|
||
<tr><td colspan="3"><span class="menu">Open files in code editor</span></td><td> </td><td>Forces files to be opened in the preferred code editor (that handles text/x-source-code). Otherwise a file will be opened in whatever app is set for its filetype. Useful, for example, when editing HTML files that normally would open in your browser.</td></tr>
|
||
<tr><td colspan="5"><h3>History 菜单</h3></td></tr>
|
||
<tr><td colspan="4"></td><td>包含最近查询的字符。</td></tr>
|
||
<tr><td colspan="5"><h3>Encoding 菜单</h3></td></tr>
|
||
<tr><td colspan="4"></td><td>根据需要选择不同的字符编码。</td></tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="nav">
|
||
<div class="inner"><span>
|
||
« <a href="terminal.html">终端</a>
|
||
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
||
</a>
|
||
:: <a href="tv.html">虚拟电视</a> »
|
||
</span></div>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|