diff --git a/common/locale/en-US/eval.xml b/common/locale/en-US/eval.xml index 507ee5a7..40b059bc 100644 --- a/common/locale/en-US/eval.xml +++ b/common/locale/en-US/eval.xml @@ -43,7 +43,7 @@ string representation and all of their enumerable properties.

-

See also :javascript

+

See also :javascript.

diff --git a/common/locale/en-US/map.xml b/common/locale/en-US/map.xml index b1e82c44..222a8115 100644 --- a/common/locale/en-US/map.xml +++ b/common/locale/en-US/map.xml @@ -625,35 +625,30 @@ describing the command's arguments. It should set the context's completions property to the list of completion results. Other influential properties include title, sort, - anthored, and filters, which are documented in the + anchored, and filters, which are documented in the source code.

- start is the index into the word being completed at which the returned values - should be applied and completions is a two-dimensional array of the form: + completions is a two-dimensional array of the form: [[arg1, description1], [arg2, description2], …]

- Otherwise thing should be an array of the same form as the - completions property of the context object. + Otherwise thing should evaluate to an array of the same form + as the completions property of the context object.

Example: - :command foo -nargs=? - \ -complete custom, - \ function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]] - \ :echo Useless + <q-args> + :command foo -nargs=? -complete custom, + \ function (context) context.completions = [["arg1", "description1"], ["arg2", "description2"]] + \ :echo Useless + <q-args> :command foo -nargs=? - \ -complete custom,[ - \ ["arg1", "description1"], - \ ["arg2, "description2"] - \ ] - \ :echo Same as above but simpler + <q-args> + \ -complete custom,[["arg1", "description1"], ["arg2, "description2"]] + \ :echo Same as above but simpler + <q-args>

Count handling

diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 4f6db975..1d3f9bb7 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1568,7 +1568,7 @@ load.

-

See also :contexts

+

See also :contexts.

diff --git a/common/locale/en-US/repeat.xml b/common/locale/en-US/repeat.xml index 831b9b1c..753bc48f 100644 --- a/common/locale/en-US/repeat.xml +++ b/common/locale/en-US/repeat.xml @@ -156,7 +156,7 @@ extensions, with all hyphens stripped and any letter following a hyphen capitalized. So, the file ~/.&dactyl.name;/plugins/foo-bar.js may be accessed as - plugins.fooBar. See also writing-plugins + plugins.fooBar. See also writing-plugins.

Ex commands

diff --git a/common/locale/en-US/styling.xml b/common/locale/en-US/styling.xml index cbbd0068..efa47be0 100644 --- a/common/locale/en-US/styling.xml +++ b/common/locale/en-US/styling.xml @@ -125,7 +125,7 @@

Every invocation completely replaces the styling of any previous - invocation, unless -append (short option: -a) is + invocation, unless -append (short name -a) is provided, in which case css is appended to its current value. If css is not provided, any styles beginning with group are listed. @@ -159,7 +159,7 @@

-append
If provided along with -name, css and - filter are appended to its current value. (short name: -a)
+ filter are appended to its current value. (short name -a)
-agent
If provided, the style is installed as an Agent sheet, which @@ -167,8 +167,9 @@ elements. (short name -A)
-name=name
-
If provided, any existing style with the same name is overridden, and the style may later be deleted using name. - (short name -n)
+
If provided, any existing style with the same name is + overridden, and the style may later be deleted using + name. (short name -n)
@@ -191,9 +192,9 @@

The available options are:

-
-name
The name provided to :style (short option: -n)
+
-name
The name provided to :style (short name -n)
-index
For unnamed styles, the index listed by :style - (short option: -i)
+ (short name -i)
diff --git a/common/locale/en-US/various.xml b/common/locale/en-US/various.xml index f170e8bb..c66f85d6 100644 --- a/common/locale/en-US/various.xml +++ b/common/locale/en-US/various.xml @@ -38,7 +38,7 @@

Fake key events.

-
-mode
The mode in which to feed the keys (short name: -m)
+
-mode
The mode in which to feed the keys (short name -m)
diff --git a/common/modules/base.jsm b/common/modules/base.jsm index 13c13471..ef3f4928 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -399,15 +399,16 @@ function isSubclass(targ, src) { } /** - * Returns true if object is an instance or interfaces. If interfaces is an array, - * returns true if object is an instance of any element of interfaces. If interfaces is - * the object form of a primitive type, returns true if object is a - * non-boxed version of the type, i.e., if (typeof object == "string"), - * isinstance(object, String) is true. Finally, if interfaces is a string, - * returns true if ({}.toString.call(object) == "[object ]"). + * Returns true if *object* is an instance of *interfaces*. If *interfaces* is + * an array, returns true if *object* is an instance of any element of + * *interfaces*. If *interfaces* is the object form of a primitive type, + * returns true if *object* is a non-boxed version of the type, i.e., if + * (typeof object == "string"), isinstance(object, String) is true. Finally, if + * *interfaces* is a string, returns true if ({}.toString.call(object) == + * "[object ]"). * * @param {object} object The object to check. - * @param {constructor|[constructor|string]} interfaces The types to check object against. + * @param {constructor|[constructor|string]} interfaces The types to check *object* against. * @returns {boolean} */ var isinstance_types = { diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index da191ad6..780d9fb4 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -63,7 +63,7 @@ :listoptions and :listcommands, providing more powerful and consistent interactive help facility (improvements include listing keys for modes other than Normal, filtering the output - and linking to source locations). + and linking to source code locations). - :downloads now opens a download list in the multi-line output buffer. - Added :cookies command. @@ -120,7 +120,7 @@ no longer be split at quoted commas and the option name, operators, and = sign may no longer be quoted. This will break certain automatically-generated configuration files. - See :help stringlist + See :help stringlist. * Option changes: - Added "bookmarks", "diverted", and "links" to 'activate' option. diff --git a/pentadactyl/locale/en-US/autocommands.xml b/pentadactyl/locale/en-US/autocommands.xml index 50852cc2..3726d8b5 100644 --- a/pentadactyl/locale/en-US/autocommands.xml +++ b/pentadactyl/locale/en-US/autocommands.xml @@ -7,7 +7,7 @@ xmlns="&xmlns.dactyl;" xmlns:html="&xmlns.html;"> -
+
BookmarkAdd
Triggered after a page is bookmarked
BookmarkChange
Triggered after a page's bookmark is changed
BookmarkRemove
Triggered after a page's bookmark is removed
@@ -26,7 +26,7 @@
Leave
Triggered before exiting &dactyl.host;
-
+
<bookmark>
The JavaScript bookmark object. Only for Bookmark*.
<changed>
The name of the property that has changed. Only for BookmarkChange.
<doc>
The document for which the event occurred. Only for DOMLoad, PageLoad and PageLoadPre.