]> git.donarmstrong.com Git - dactyl.git/blob - common/locale/en-US/pattern.xml
Import 1.0rc1 supporting Firefox up to 11.*
[dactyl.git] / common / locale / en-US / pattern.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet type="text/xsl" href="dactyl://content/help.xsl"?>
3
4 <!DOCTYPE document SYSTEM "dactyl://content/dtd">
5
6 <document
7     name="pattern"
8     title="&dactyl.appName; Patterns"
9     xmlns="&xmlns.dactyl;"
10     xmlns:html="&xmlns.html;">
11
12 <h1 tag="text-find-commands">Text find commands</h1>
13 <toc start="2"/>
14
15 <p>
16     &dactyl.appName; provides a Vim-like incremental find interface to
17     replace &dactyl.host;'s crippled Typeahead Find. Among other improvements,
18     our find service:
19 </p>
20 <ul>
21     <li>
22         Starts at the cursor position in the currently selected frame, unlike
23         &dactyl.host;, which always starts at the beginning of the first frame
24         for documents with more than one frame.
25     </li>
26     <li>
27         Returns the cursor and viewport to their original position on cancel.
28     </li>
29     <li>
30         Backtracks to the first successful match after pressing backspace,
31         unlike &dactyl.host;, which will always continue from the last match.
32     </li>
33     <li>
34         Supports reverse incremental find.
35     </li>
36     <li>
37         Escape sequences to toggle link-only and case-sensitive find.
38     </li>
39     <li>
40         Crude regular expression searches are supported.
41     </li>
42 </ul>
43
44 <item>
45     <tags><![CDATA[<find-forward> /]]></tags>
46     <spec>/<a>pattern</a><k name="CR" link="false"/></spec>
47     <description>
48         <p>Find <a>pattern</a> starting at the current caret position.</p>
49
50         <p>
51             The following escape sequences can be used anywhere in
52             <a>pattern</a> to modify the behavior of the search. When flags
53             conflict, the last to appear is the one that takes effect.
54         </p>
55
56         <dl dt="width: 6em;">
57             <dt>\c</dt> <dd>Perform case insensitive find (default if <o>findcase</o>=<str>ignore</str>).</dd>
58             <dt>\C</dt> <dd>Perform case sensitive find (default if <o>findcase</o>=<str>match</str>).</dd>
59             <dt>\l</dt> <dd>Search only in links, as defined by <o>hinttags</o>.</dd>
60             <dt>\L</dt> <dd>Search the entire page.</dd>
61             <dt>\r</dt> <dd>Process the entire pattern as a regular expression.</dd>
62             <dt>\R</dt> <dd>Process the entire pattern as an ordinary string.</dd>
63         </dl>
64     </description>
65 </item>
66
67 <item>
68     <tags><![CDATA[<find-backward> <S-Slash> ?]]></tags>
69     <spec>?<a>pattern</a><k name="CR" link="false"/></spec>
70     <description>
71         <p>
72             Find a pattern backward of the current caret position in exactly the
73             same manner as <k>/</k>.
74         </p>
75     </description>
76 </item>
77
78 <item>
79     <tags><![CDATA[<find-next> n]]></tags>
80     <spec>n</spec>
81     <description short="true">
82         <p>Find next. Repeat the last find.</p>
83     </description>
84 </item>
85
86 <item>
87     <tags><![CDATA[<find-previous> N]]></tags>
88     <spec>N</spec>
89     <description short="true">
90         <p>Find previous. Repeat the last find in the opposite direction.</p>
91     </description>
92 </item>
93
94 <item>
95     <tags><![CDATA[<find-word-forward> *]]></tags>
96     <spec>*</spec>
97     <description short="true">
98         <p>Search forward for the next occurrence of the word under cursor.</p>
99     </description>
100 </item>
101
102 <item>
103     <tags><![CDATA[<find-word-backward> #]]></tags>
104     <spec>#</spec>
105     <description short="true">
106         <p>Search backward for the previous occurrence of the word under cursor.</p>
107     </description>
108 </item>
109
110 <item>
111     <tags>:noh :nohlfind</tags>
112     <strut/>
113     <spec>:noh<oa>lfind</oa></spec>
114     <description>
115         <p>
116             Remove the find highlighting. The document is highlighted again
117             when another find command is used or the <o>hlfind</o> option
118             is set.
119         </p>
120     </description>
121 </item>
122
123 </document>
124
125 <!-- vim:se sts=4 sw=4 et: -->