mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Typos, corrections and consistency fixes.
--HG-- branch : key-processing
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
* (@link CommandOption.FLOAT),
|
* (@link CommandOption.FLOAT),
|
||||||
* (@link CommandOption.LIST),
|
* (@link CommandOption.LIST),
|
||||||
* (@link CommandOption.ANY)
|
* (@link CommandOption.ANY)
|
||||||
* @property {object} default The option's default value
|
|
||||||
* @property {function} validator A validator function
|
* @property {function} validator A validator function
|
||||||
* @property {function (CompletionContext, object)} completer A list of
|
* @property {function (CompletionContext, object)} completer A list of
|
||||||
* completions, or a completion function which will be passed a
|
* completions, or a completion function which will be passed a
|
||||||
@@ -33,6 +32,7 @@
|
|||||||
* completeOpt - The name of the option currently being completed.
|
* completeOpt - The name of the option currently being completed.
|
||||||
* @property {boolean} multiple Whether this option can be specified multiple times
|
* @property {boolean} multiple Whether this option can be specified multiple times
|
||||||
* @property {string} description A description of the option
|
* @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");
|
var CommandOption = Struct("names", "type", "validator", "completer", "multiple", "description", "default");
|
||||||
|
|||||||
@@ -851,7 +851,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
}, [function (context, args) completion.file(context)]),
|
}, [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*
|
* @param {Command|Map|Option} obj A dactyl *Command*, *Map* or *Option*
|
||||||
* object
|
* object
|
||||||
@@ -953,7 +953,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
*
|
*
|
||||||
* @param {string} topic The help topic to open.
|
* @param {string} topic The help topic to open.
|
||||||
* @param {boolean} unchunked Whether to use the unchunked help page.
|
* @param {boolean} unchunked Whether to use the unchunked help page.
|
||||||
* @returns {string}
|
|
||||||
*/
|
*/
|
||||||
help: function (topic, unchunked) {
|
help: function (topic, unchunked) {
|
||||||
dactyl.initHelp();
|
dactyl.initHelp();
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
completion system customization.
|
completion system customization.
|
||||||
* The external editor can now be configured to open to a given
|
* The external editor can now be configured to open to a given
|
||||||
line number and column, used for opening source links and
|
line number and column, used for opening source links and
|
||||||
editing input fields with <C-i>. See :h 'editor'.
|
editing input fields with i_<C-i>. See :h 'editor'.
|
||||||
* Command changes:
|
* Command changes:
|
||||||
- :viusage, :optionusage and :exusage were replaced with :listkeys,
|
- :viusage, :optionusage and :exusage were replaced with :listkeys,
|
||||||
:listoptions and :listcommands, providing more powerful and
|
:listoptions and :listcommands, providing more powerful and
|
||||||
@@ -66,16 +66,17 @@
|
|||||||
and linking to source code locations).
|
and linking to source code locations).
|
||||||
- :downloads now opens a download list in the multi-line output
|
- :downloads now opens a download list in the multi-line output
|
||||||
buffer.
|
buffer.
|
||||||
- :extensions has been replaced with a more powerful :addons
|
- :extensions has been replaced with a more powerful :addons.
|
||||||
- Added :cookies command.
|
- Added :cookies command.
|
||||||
* :extadd now supports remote URLs as well as local files on Firefox 4.
|
- :extadd now supports remote URLs as well as local files on Firefox 4.
|
||||||
* Added :if/:elseif/:else/:endif conditionals.
|
- Added :if/:elseif/:else/:endif conditionals.
|
||||||
- Added -charset and -post to :bmark.
|
- Added -charset and -post to :bmark.
|
||||||
- Added -keyword, -tags, -title to :delbmarks.
|
- Added -keyword, -tags, -title to :delbmarks.
|
||||||
- Added :extrehash, :exttoggle, :extupdate, and :rehash commands.
|
- Added :extrehash, :exttoggle, :extupdate, and :rehash commands.
|
||||||
- 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 :abbreviate and
|
||||||
|
:map.
|
||||||
- Added :mksyntax command to auto-generate Vim syntax files.
|
- Added :mksyntax command to auto-generate Vim syntax files.
|
||||||
- :open now only opens files beginning with /, ./, ../, or ~/
|
- :open now only opens files beginning with /, ./, ../, or ~/
|
||||||
- :saveas now provides completions for default file names, and
|
- :saveas now provides completions for default file names, and
|
||||||
@@ -87,7 +88,7 @@
|
|||||||
- Added :yank command.
|
- Added :yank command.
|
||||||
- :delmarks, :marks and :qmarks now also accept ranges, same as
|
- :delmarks, :marks and :qmarks now also accept ranges, same as
|
||||||
:delqmarks.
|
: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
|
- :command -complete custom now also accepts a completions array, see
|
||||||
:h :command-completion-custom.
|
:h :command-completion-custom.
|
||||||
* Improvements to :style and :highlight:
|
* Improvements to :style and :highlight:
|
||||||
@@ -127,7 +128,7 @@
|
|||||||
* Option changes:
|
* Option changes:
|
||||||
- Added "bookmarks", "diverted", and "links" to 'activate'
|
- Added "bookmarks", "diverted", and "links" to 'activate'
|
||||||
option.
|
option.
|
||||||
- Added 'altwildmode' and <A-Tab> command-line key binding.
|
- Added 'altwildmode' and c_<A-Tab> command-line key binding.
|
||||||
- Added 'autocomplete' option for specifying which completion
|
- Added 'autocomplete' option for specifying which completion
|
||||||
groups should be auto-completed.
|
groups should be auto-completed.
|
||||||
- Added 'banghist' option.
|
- Added 'banghist' option.
|
||||||
@@ -135,7 +136,7 @@
|
|||||||
- 'complete' now defaults to "slf" but file completion only
|
- 'complete' now defaults to "slf" but file completion only
|
||||||
triggers when the URL begins as above.
|
triggers when the URL begins as above.
|
||||||
- Added 'passkeys' option.
|
- Added 'passkeys' option.
|
||||||
- Changed 'urlseparator' default value to '|'.
|
- Changed 'urlseparator' default value to "|".
|
||||||
- Added "passwords" and "venkman" dialogs to :dialog.
|
- Added "passwords" and "venkman" dialogs to :dialog.
|
||||||
- Added 'wildanchor' option.
|
- Added 'wildanchor' option.
|
||||||
- Added 'cookies', 'cookieaccept', and 'cookielifetime' options.
|
- Added 'cookies', 'cookieaccept', and 'cookielifetime' options.
|
||||||
@@ -150,7 +151,7 @@
|
|||||||
* Completion list now behaves better when the multi-line output
|
* Completion list now behaves better when the multi-line output
|
||||||
window is displayed.
|
window is displayed.
|
||||||
* Major help system improvements:
|
* 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.
|
- Add basic plugin authorship documentation.
|
||||||
- The help system is newly modularized and features significant
|
- The help system is newly modularized and features significant
|
||||||
updates, rewrites, and formatting improvements.
|
updates, rewrites, and formatting improvements.
|
||||||
|
|||||||
Reference in New Issue
Block a user