From 5bc5c91c05d354ad62522857d6636762223b4187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Sat, 12 Feb 2011 00:30:46 +0100 Subject: [PATCH] Update the docs with the recent command banging. --- common/locale/en-US/map.xml | 76 ++++++++------------------------- common/locale/en-US/styling.xml | 29 +++++++------ common/modules/styles.jsm | 1 - pentadactyl/NEWS | 4 ++ 4 files changed, 37 insertions(+), 73 deletions(-) diff --git a/common/locale/en-US/map.xml b/common/locale/en-US/map.xml index 5e1e5b4f..0fb46370 100644 --- a/common/locale/en-US/map.xml +++ b/common/locale/en-US/map.xml @@ -156,38 +156,25 @@ :unm :unmap :unmap lhs + :unmap! :nun :nunmap :nunmap lhs + :nunmap! :vun :vunmap :vunmap lhs + :vunmap! :iu :iunmap :iunmap lhs + :iunmap! :tu :tunmap :tunmap lhs + :tunmap! :cu :cunmap :cunmap lhs + :cunmap! -

Remove the mapping of lhs for the applicable mode(s).

-
-
- - - :mapc :mapclear - :mapclear - :nmapc :nmapclear - :nmapclear - :vmapc :vmapclear - :vmapclear - :imapc :imapclear - :imapclear - :tmapc :tmapclear - :tmapclear - :cmapc :cmapclear - :cmapclear - -

- Remove all user-defined mappings for the applicable mode(s). -

+

Remove the mapping of lhs (or all mappings if ! is + given) for the applicable mode(s).

@@ -459,7 +446,7 @@

- If group is specified than abbreviations are created or + If group is specified then abbreviations are created or listed for the given group.

@@ -495,17 +482,19 @@ :una :unabbreviate :unabbreviate lhs + :unabbreviate! -

Remove an abbreviation.

+

Remove an abbreviation. With !, remove all abbreviations.

:cuna :cunabbreviate :cunabbreviate lhs + :cunabbreviate!

- Remove an abbreviation for Command-line mode. Same as + Remove abbreviation(s) for Command-line mode. Same as :unabbreviate, but for command-line mode only.

@@ -515,39 +504,16 @@ :iuna :iunabbreviate :iunabbreviate lhs + :iunabbreviate!

- Remove an abbreviation for Insert mode. Same as + Remove abbreviation(s) for Insert mode. Same as :unabbreviate but for Insert mode only.

- - :abc :abclear - :abclear - -

Remove all abbreviations.

-
-
- - - :cabc :cabclear - :cabclear - -

Remove all abbreviations for command-line mode.

-
-
- - - :iabc :iabclear - :iabclear - -

Remove all abbreviations for Insert mode.

-
-
-

User-defined commands

@@ -725,19 +691,13 @@ - - :comc :comclear - :comclear - -

Delete all user-defined commands.

-
-
- :delc :delcommand :delcommand cmd + :delcommand! -

Delete the user-defined command cmd.

+

Delete the user-defined command cmd. With !, delete + all user commands.

diff --git a/common/locale/en-US/styling.xml b/common/locale/en-US/styling.xml index ef07498a..fe08dc3f 100644 --- a/common/locale/en-US/styling.xml +++ b/common/locale/en-US/styling.xml @@ -66,7 +66,7 @@
CompGroup
The top-level container for a group of completion results
CompIcon
The favicon of a completion row
CompItem
A row of completion list
-
CompItem[selected]
    A selected row of completion list
+
CompItem[selected]
A selected row of completion list
CompLess::after
The character of indicator shown when completions may be scrolled up
CompLess
The indicator shown when completions may be scrolled up
CompMore::after
The character of indicator shown when completions may be scrolled down
@@ -103,7 +103,7 @@
StatusLine
The status bar
StatusLineNormal
The status bar for an ordinary web page
StatusLineBroken
The status bar for a broken web page
-
StatusLineExtended
    The status bar for a secure web page with an Extended Validation (EV) certificate
+
StatusLineExtended
The status bar for a secure web page with an Extended Validation (EV) certificate
StatusLineSecure
The status bar for a secure web page
String
A JavaScript String object
TabClose
The close button of a browser tab
@@ -185,14 +185,15 @@ :dels :delstyle - :delstyle -name=name -index=index filter css + :delstyle! -name=name -index=index filter css

- Delete any matching styles. If filter is provided, only - matching elements of the filter are disabled. For instance, when - run with a filter mozilla.org, an existing style with a - filter www.google.com,mozilla.org, will result in a - style for www.google.com. + Delete any matching styles. With !, delete all styles. + If filter is provided, only matching elements of the + filter are disabled. For instance, when run with a filter + mozilla.org, an existing style with a filter + www.google.com,mozilla.org, will result in a style for + www.google.com.

The available options are:

@@ -209,9 +210,9 @@ :styleenable :stylee :styenable :stye - :styledisable -name=name -index=index filter css + :styledisable! -name=name -index=index filter css -

Enable any matching styles. Arguments are the same as for :delstyle

+

Enable any matching styles. With !, enable all styles. Arguments are the same as for :delstyle

@@ -219,9 +220,9 @@ :styledisable :styled :stydisable :styd - :styleenable -name=name -index=index filter css + :styleenable! -name=name -index=index filter css -

Disable any matching styles. Arguments are the same as for :delstyle

+

Disable any matching styles. With !, disable all styles. Arguments are the same as for :delstyle

@@ -229,9 +230,9 @@ :styletoggle :stylet :stytoggle :styt - :styletoggle -name=name -index=index filter css + :styletoggle! -name=name -index=index filter css -

Toggle any matching styles. Arguments are the same as for :delstyle

+

Toggle any matching styles. With !, toggle all styles. Arguments are the same as for :delstyle

diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index 8f99db9f..c61241c4 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -572,7 +572,6 @@ var Styles = Module("Styles", { } }, { - bang: true, completer: function (context, args) { let compl = []; let sheet = args["-group"].get(args["-name"]); diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index be68e38d..b5bfedd0 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -96,6 +96,8 @@ - Added -charset and -post to :bmark. [b5] - Added -keyword, -tags, -title to :delbmarks. [b2] - Added :extrehash, :exttoggle, :extupdate, and :rehash commands. [b5] + - :abclear, :comclear and :mapclear have been substituted by a bang now + accepted by :unabbreviate, :delcommand and :unmap, respectively. [b6] - Added :feedkeys command. [b4] - Added -sort option to :history. [b4] - Added several new options, including -javascript, to :abbreviate and @@ -123,6 +125,8 @@ - :style-related commands now divide their completions between those active and inactive for the current site. [b4] - CSS property name completion is now available. [b4] + - :delstyle, :styleenable, :styledisable and :styletoggle accept a ! + to operate on all styles. [b6] * IMPORTANT option changes: - Option value quoting has changed. List options will no longer be split at quoted commas and the option name, operators, and