1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 15:55:47 +01:00

Fix some :h news issues, document ;A.

This commit is contained in:
Štěpán Němec
2012-02-01 18:50:54 +01:00
parent c4b52258b7
commit f6e6ade181
4 changed files with 10 additions and 9 deletions

View File

@@ -109,6 +109,7 @@
<li tag=";V"><em>V</em> to view its destination source in the external editor</li> <li tag=";V"><em>V</em> to view its destination source in the external editor</li>
<li tag=";y"><em>y</em> to yank its destination location</li> <li tag=";y"><em>y</em> to yank its destination location</li>
<li tag=";Y"><em>Y</em> to yank its text description</li> <li tag=";Y"><em>Y</em> to yank its text description</li>
<li tag=";A"><em>A</em> to yank its anchor URL</li>
<li tag=";c"><em>c</em> to open its context menu</li> <li tag=";c"><em>c</em> to open its context menu</li>
<li tag=";i"><em>i</em> to open an image</li> <li tag=";i"><em>i</em> to open an image</li>
<li tag=";I"><em>I</em> to open an image in a new tab.</li> <li tag=";I"><em>I</em> to open an image in a new tab.</li>

View File

@@ -126,7 +126,7 @@ var Help = Module("Help", {
| (?: ^ [^\S\n]* \n) + | (?: ^ [^\S\n]* \n) +
]]>), "gmxy"); ]]>), "gmxy");
let betas = util.regexp(/\[(b\d)\]/, "gx"); let betas = util.regexp(/\[((?:b|rc)\d)\]/, "gx");
let beta = array(betas.iterate(NEWS)) let beta = array(betas.iterate(NEWS))
.map(function (m) m[1]).uniq().slice(-1)[0]; .map(function (m) m[1]).uniq().slice(-1)[0];

View File

@@ -258,7 +258,7 @@ var Template = Module("Template", {
linkifyHelp: function linkifyHelp(str, help) { linkifyHelp: function linkifyHelp(str, help) {
let re = util.regexp(<![CDATA[ let re = util.regexp(<![CDATA[
(?P<pre> [/\s]|^) (?P<pre> [/\s]|^)
(?P<tag> '[\w-]+' | :(?:[\w-]+!?|!) | (?:._)?<[\w-]+>\w* | \b[a-zA-Z]_(?:\w+|.) | \[[\w-]+\] | E\d{3} ) (?P<tag> '[\w-]+' | :(?:[\w-]+!?|!) | (?:._)?<[\w-]+>\w* | \b[a-zA-Z]_(?:[\w[\]]+|.) | \[[\w-;]+\] | E\d{3} )
(?= [[\)!,:;./\s]|$) (?= [[\)!,:;./\s]|$)
]]>, "gx"); ]]>, "gx");
return this.highlightSubstrings(str, (function () { return this.highlightSubstrings(str, (function () {

View File

@@ -85,12 +85,12 @@
'guioptions'. [b4] 'guioptions'. [b4]
• Hints mode improvements, including: • Hints mode improvements, including:
- Added [;A] extended hint mode. [rc2] - Added [;A] extended hint mode. [rc2]
- Added g; continued extended hints mode, which allows - Added [g;] continued extended hints mode, which allows
selecting multiple hints. Removed ;F. [b1] selecting multiple hints. Removed ;F. [b1]
- Hints are now updated after scrolling and window resizing. [b3] - Hints are now updated after scrolling and window resizing. [b3]
- ;s now prompts for a filename on the command-line rather - [;s] now prompts for a filename on the command-line rather
than in a dialog. [b5] than in a dialog. [b5]
- Added ;a and ;S modes for creating bookmarks and search keywords. [b4][b3] - Added [;a] and [;S] modes for creating bookmarks and search keywords. [b4][b3]
- Added 'hintkeys' option. [b2] - Added 'hintkeys' option. [b2]
- Added "transliterated" option to 'hintmatching'. [b1] - Added "transliterated" option to 'hintmatching'. [b1]
• The external editor can now be configured to open to a given • The external editor can now be configured to open to a given
@@ -108,7 +108,7 @@
Hint, Multi-line Output, and Menu. [b4] Hint, Multi-line Output, and Menu. [b4]
- <C-o> and <C-i> now behave more like Vim. [b8] - <C-o> and <C-i> now behave more like Vim. [b8]
- n_G now uses 'linenumbers' to determine destination if possible. [b8] - n_G now uses 'linenumbers' to determine destination if possible. [b8]
- Add n_s and n_S. [b8] - Added n_s and n_S. [b8]
- Added Operator mode for motion maps, per Vim. [b8] - Added Operator mode for motion maps, per Vim. [b8]
- Added site-specific mapping groups and related command - Added site-specific mapping groups and related command
changes. [b6] changes. [b6]
@@ -217,8 +217,8 @@
still be used for this purpose. [b4] still be used for this purpose. [b4]
- 'loadplugins' is now a [regexplist] option rather than - 'loadplugins' is now a [regexplist] option rather than
a boolean. [b2] a boolean. [b2]
- 'mapleader' is no longer an option rather or a :let - Made 'mapleader' an option rather than a :let variable. [b4]
variable. [b4][rc2] - Removed the 'mapleader' option. [rc2]
- 'passkeys' is now a [sitemap] with key chain support rather - 'passkeys' is now a [sitemap] with key chain support rather
than a [regexpmap]. [b6] than a [regexpmap]. [b6]
- The precise format of 'sanitizeitems' has changed slightly. [b8] - The precise format of 'sanitizeitems' has changed slightly. [b8]
@@ -256,7 +256,7 @@
• Added BookmarkChange, BookmarkRemove autocommands. [b2] • Added BookmarkChange, BookmarkRemove autocommands. [b2]
• Removed the :source line at the end of files generated by • Removed the :source line at the end of files generated by
:mkpentadactylrc. [b2] :mkpentadactylrc. [b2]
• gf now toggles between source and content view. n_gf now toggles between source and content view.
The | key binding has been removed. [b1] The | key binding has been removed. [b1]
• Page zoom information is now shown in the status bar, and • Page zoom information is now shown in the status bar, and
change in zoom status no longer appears in :messages. [b1] change in zoom status no longer appears in :messages. [b1]