From f06d5653c793f99cf561db423077e0957d3370bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Tue, 25 Jan 2011 00:27:24 +0100 Subject: Typos, corrections and consistency fixes. --HG-- branch : key-processing --- common/content/commands.js | 2 +- common/content/dactyl.js | 5 ++--- pentadactyl/NEWS | 19 ++++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/common/content/commands.js b/common/content/commands.js index 44164529..be60a5ef 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -24,7 +24,6 @@ * (@link CommandOption.FLOAT), * (@link CommandOption.LIST), * (@link CommandOption.ANY) - * @property {object} default The option's default value * @property {function} validator A validator function * @property {function (CompletionContext, object)} completer A list of * completions, or a completion function which will be passed a @@ -33,6 +32,7 @@ * completeOpt - The name of the option currently being completed. * @property {boolean} multiple Whether this option can be specified multiple times * @property {string} description A description of the option + * @property {object} default The option's default value */ var CommandOption = Struct("names", "type", "validator", "completer", "multiple", "description", "default"); diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 6293114c..95b7c6f6 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -527,7 +527,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { /** * Returns the URL of the specified help *topic* if it exists. * - * @param {string} topic The help topic to lookup. + * @param {string} topic The help topic to look up. * @param {boolean} unchunked Whether to search the unchunked help page. * @returns {string} */ @@ -851,7 +851,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { }, [function (context, args) completion.file(context)]), /** - * Generates a help entry and writes it to the clipboard. + * Generates a help entry and returns it as a string. * * @param {Command|Map|Option} obj A dactyl *Command*, *Map* or *Option* * object @@ -953,7 +953,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { * * @param {string} topic The help topic to open. * @param {boolean} unchunked Whether to use the unchunked help page. - * @returns {string} */ help: function (topic, unchunked) { dactyl.initHelp(); diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index abf2e334..88787654 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -57,7 +57,7 @@ completion system customization. * The external editor can now be configured to open to a given line number and column, used for opening source links and - editing input fields with . See :h 'editor'. + editing input fields with i_. See :h 'editor'. * Command changes: - :viusage, :optionusage and :exusage were replaced with :listkeys, :listoptions and :listcommands, providing more powerful and @@ -66,16 +66,17 @@ and linking to source code locations). - :downloads now opens a download list in the multi-line output buffer. - - :extensions has been replaced with a more powerful :addons + - :extensions has been replaced with a more powerful :addons. - Added :cookies command. - * :extadd now supports remote URLs as well as local files on Firefox 4. - * Added :if/:elseif/:else/:endif conditionals. + - :extadd now supports remote URLs as well as local files on Firefox 4. + - Added :if/:elseif/:else/:endif conditionals. - Added -charset and -post to :bmark. - Added -keyword, -tags, -title to :delbmarks. - Added :extrehash, :exttoggle, :extupdate, and :rehash commands. - Added :feedkeys command. - Added -sort option to :history. - - Added several new options, including -javascript, to :abbrev and :map. + - Added several new options, including -javascript, to :abbreviate and + :map. - Added :mksyntax command to auto-generate Vim syntax files. - :open now only opens files beginning with /, ./, ../, or ~/ - :saveas now provides completions for default file names, and @@ -87,7 +88,7 @@ - Added :yank command. - :delmarks, :marks and :qmarks now also accept ranges, same as :delqmarks. - - :command now accepts comma-separated alternative command names + - :command now accepts comma-separated alternative command names. - :command -complete custom now also accepts a completions array, see :h :command-completion-custom. * Improvements to :style and :highlight: @@ -127,7 +128,7 @@ * Option changes: - Added "bookmarks", "diverted", and "links" to 'activate' option. - - Added 'altwildmode' and command-line key binding. + - Added 'altwildmode' and c_ command-line key binding. - Added 'autocomplete' option for specifying which completion groups should be auto-completed. - Added 'banghist' option. @@ -135,7 +136,7 @@ - 'complete' now defaults to "slf" but file completion only triggers when the URL begins as above. - Added 'passkeys' option. - - Changed 'urlseparator' default value to '|'. + - Changed 'urlseparator' default value to "|". - Added "passwords" and "venkman" dialogs to :dialog. - Added 'wildanchor' option. - Added 'cookies', 'cookieaccept', and 'cookielifetime' options. @@ -150,7 +151,7 @@ * Completion list now behaves better when the multi-line output window is displayed. * Major help system improvements: - - Plugins may now provide full-fledged ':help' documentation. + - Plugins may now provide full-fledged :help documentation. - Add basic plugin authorship documentation. - The help system is newly modularized and features significant updates, rewrites, and formatting improvements. -- cgit v1.2.3