1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 18:25:46 +01:00

Merge default.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-24 20:45:19 -05:00
7 changed files with 11 additions and 11 deletions

View File

@@ -103,7 +103,7 @@ const ConfigBase = Class(ModuleBase, {
host: null, host: null,
/** /**
* @property {Object} A map between key names for key events should be ignored, * @property {Object} A map between key names for key events which should be ignored,
* and a mask of the modes in which they should be ignored. * and a mask of the modes in which they should be ignored.
*/ */
ignoreKeys: {}, // NOTE: be aware you can't put useful values in here, as "modes.NORMAL" etc. are not defined at this time ignoreKeys: {}, // NOTE: be aware you can't put useful values in here, as "modes.NORMAL" etc. are not defined at this time
@@ -199,7 +199,7 @@ const ConfigBase = Class(ModuleBase, {
!CmdLine;>* font-family: monospace !important; padding: 1px !important; !CmdLine;>* font-family: monospace !important; padding: 1px !important;
CmdPrompt;.dactyl-commandline-prompt CmdPrompt;.dactyl-commandline-prompt
CmdInput;.dactyl-commandline-command CmdInput;.dactyl-commandline-command
CmdOutput white-space: pre; CmdOutput white-space: pre;
CompGroup CompGroup

View File

@@ -481,7 +481,7 @@ const Mappings = Module("mappings", {
options: [ update({}, modeFlag, { options: [ update({}, modeFlag, {
names: ["-modes", "-mode", "-m"], names: ["-modes", "-mode", "-m"],
type: CommandOption.LIST, type: CommandOption.LIST,
description: "Clear mappings from the given modes", description: "Remove all mappings from the given modes",
default: mapmodes || ["n", "v"], default: mapmodes || ["n", "v"],
}), }),
] ]

View File

@@ -725,7 +725,7 @@
<type>number</type> <type>number</type>
<default>0</default> <default>0</default>
<description> <description>
<p>Changes how soon matching hints are followed in in Hints mode.</p> <p>Changes how soon matching hints are followed in Hints mode.</p>
<p>Possible values:</p> <p>Possible values:</p>

View File

@@ -38,7 +38,7 @@
<p>Fake key events.</p> <p>Fake key events.</p>
<dl> <dl>
<dt>-mode</dt> <dd>The in which to feed the keys (short name: <em>-m</em>)</dd> <dt>-mode</dt> <dd>The mode in which to feed the keys (short name: <em>-m</em>)</dd>
</dl> </dl>
</description> </description>
</item> </item>

View File

@@ -1134,7 +1134,7 @@ const array = Class("array", Array, {
* Returns the nth member of the given array that matches the * Returns the nth member of the given array that matches the
* given predicate. * given predicate.
*/ */
nth: function first(ary, pred, n, self) { nth: function nth(ary, pred, n, self) {
for (let elem in values(ary)) for (let elem in values(ary))
if (pred.call(self, elem) && n-- === 0) if (pred.call(self, elem) && n-- === 0)
return elem; return elem;

View File

@@ -267,7 +267,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
return stack.top; return stack.top;
}, },
compileMacro: function compileFormat(macro, keepUnknown) { compileMacro: function compileMacro(macro, keepUnknown) {
let stack = [frame()]; let stack = [frame()];
stack.__defineGetter__("top", function () this[this.length - 1]); stack.__defineGetter__("top", function () this[this.length - 1]);

View File

@@ -61,7 +61,7 @@
- Added -keyword, -tags, -title to :delbmarks. - Added -keyword, -tags, -title to :delbmarks.
- Added :extupdate command. - Added :extupdate command.
- Added :feedkeys command. - Added :feedkeys command.
- Added -sort option to :history - Added -sort option to :history.
- Added several new options, including -javascript, to :abbrev and :map. - Added several new options, including -javascript, to :abbrev and :map.
- Added :mksyntax command. - Added :mksyntax command.
- :open now only opens files beginning with /, ./, ../, or ~/ - :open now only opens files beginning with /, ./, ../, or ~/
@@ -71,15 +71,15 @@
- Added -agent flag to :style. - Added -agent flag to :style.
- The -append flag now updates existing properties rather than - The -append flag now updates existing properties rather than
simply appending its arguments to the previous value. simply appending its arguments to the previous value.
- Active filters are not highlighted in :style listings - Active filters are not highlighted in :style listings.
- :style-related commands now divide their completions between - :style-related commands now divide their completions between
those active and inactive for the current site. those active and inactive for the current site.
- CSS property name completion is not available - CSS property name completion is not available.
* IMPORTANT option changes: * IMPORTANT option changes:
- 'cdpath' and 'runtimepath' no longer treat ",," - 'cdpath' and 'runtimepath' no longer treat ",,"
specially. Use "." instead. specially. Use "." instead.
- 'incsearch', 'hlsearch', 'ignorecase', and 'smartcase' have - 'incsearch', 'hlsearch', 'ignorecase', and 'smartcase' have
been replaced with 'incfind', 'hlfind', and 'findcase' been replaced with 'incfind', 'hlfind', and 'findcase'.
- 'extendedhinttags' is now a regexpmap rather than a - 'extendedhinttags' is now a regexpmap rather than a
string. string.
- 'guioptions' default value has changed. - 'guioptions' default value has changed.