Skip to content

Commit 6e6bf77

Browse files
stepshalgkatsev
authored andcommitted
Fix misspellings (#546)
1 parent 4f1f4b2 commit 6e6bf77

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

common/content/completion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ const CompletionContext = Class("CompletionContext", {
617617
* @param {boolean} interruptible When true, the call may be interrupted
618618
* via <C-c>, in which case, "Interrupted" may be thrown.
619619
* @param {number} timeout The maximum time, in milliseconds, to wait.
620-
* If 0 or null, wait indefinately.
620+
* If 0 or null, wait indefinitely.
621621
*/
622622
wait: function wait(interruptable, timeout) {
623623
let end = Date.now() + timeout;

common/content/finder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ var Finder = Module("finder", {
253253
},
254254

255255
/**
256-
* Highlights all occurances of <b>str</b> in the buffer.
256+
* Highlights all occurrences of <b>str</b> in the buffer.
257257
*/
258258
highlight: function () {
259259
this.setupFindbar();

common/content/hints.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const Hints = Module("hints", {
207207
let leftBound = Infinity;
208208
let topBound = Infinity;
209209

210-
// First find the top-left corner of the bounding rectangle (offset from image topleft can be noticably suboptimal)
210+
// First find the top-left corner of the bounding rectangle (offset from image topleft can be noticeably suboptimal)
211211
for (let i = 0; i < coords.length; i += 2) {
212212
leftBound = Math.min(coords[i], leftBound);
213213
topBound = Math.min(coords[i + 1], topBound);
@@ -844,8 +844,8 @@ const Hints = Module("hints", {
844844
/**
845845
* Get a hint matcher for hintmatching=fuzzy
846846
*
847-
* The user input can be anything. The matcher looks for occurances of
848-
* the characters in the user input. If all occurances are found in the
847+
* The user input can be anything. The matcher looks for occurrences of
848+
* the characters in the user input. If all occurrences are found in the
849849
* link, in order, the link is relevant.
850850
*
851851
* @param {string} hintString The string typed by the user.

common/content/javascript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ const JavaScript = Module("javascript", {
432432
_getKey: function () {
433433
if (this._last == "")
434434
return "";
435-
// After the opening [ upto the opening ", plus '' to take care of any operators before it
435+
// After the opening [ up to the opening ", plus '' to take care of any operators before it
436436
let key = this._str.substring(this._get(-2, 0, "statements"), this._get(-1, null, "offset")) + "''";
437437
// Now eval the key, to process any referenced variables.
438438
return this.eval(key);
@@ -496,7 +496,7 @@ const JavaScript = Module("javascript", {
496496
if (this._get(-3, 0, "statements") == this._get(-2).offset)
497497
return null;
498498

499-
// Beginning of the statement upto the opening [
499+
// Beginning of the statement up to the opening [
500500
let obj = this._getObj(-3, this._get(-2).offset);
501501

502502
return this._complete(obj, this._getKey(), null, string, this._last);

common/content/liberator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ const Liberator = Module("liberator", {
741741
* ["url1", "url2", "url3", ...]
742742
* or:
743743
* [["url1", postdata1], ["url2", postdata2], ...]
744-
* @param {number|Object} where If ommited, CURRENT_TAB is assumed but NEW_TAB
744+
* @param {number|Object} where If omitted, CURRENT_TAB is assumed but NEW_TAB
745745
* is set when liberator.forceNewTab is true.
746746
* @param {boolean} force Don't prompt whether to open more than 20
747747
* tabs.

common/locale/en-US/options.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@
12331233

12341234
<p>This option is designed to allow full UI customization with Firefox's capabilities,
12351235
as well as with Vimperator's. Therefore the default value <ex>:set gui=</ex> just
1236-
means that we don't touch any GUI elements by default. If you want a truely minimal
1236+
means that we don't touch any GUI elements by default. If you want a truly minimal
12371237
GUI, you can - however - just use <ex>:set gui=none</ex> in your .vimperatorrc file.</p>
12381238

12391239
<p>Individual elements can be shown with <ex>:set toolbars=&lt;toolbar&gt;</ex> and hidden with

vimperator/NEWS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @reepush changed all array and generator comprehensions to iterators and standards compliant javascript thus making vimeprator work with firefox 46
1717
* @amlitzer made iabbr work in contenteditable text boxes
1818
* @amlitzer add *PluginsLoadPost* autocmd event
19-
* @timss Split Vimperator syntax highlighting to seperate repo:
19+
* @timss Split Vimperator syntax highlighting to separate repo:
2020
https://github.com/vimperator/vimperator.vim
2121
* @pale3 add mapping <S-Insert> for pasting from clipboard or primary selection. This action is operating
2222
system dependent. On linux it will paste from primary selection, but on other systems it will paste from
@@ -175,7 +175,7 @@
175175
* Url links in :jump list are clickable again
176176
* Gracefully handle unescaped regex characters in 'urlseparator' option
177177
* :sanitize now respects timespan values
178-
* add '-select' option to :tabclose command for specifiying which tab is selected after closing the current one
178+
* add '-select' option to :tabclose command for specifying which tab is selected after closing the current one
179179
* Deleting local marks with :delmarks[!] command is working now
180180
* Editing password fields with the external editor works again (thanks Gianni)
181181

@@ -196,7 +196,7 @@
196196
but also error messages (apart from a few very early loading errors,
197197
which are still dump'ed to the console since the :messages mechanism
198198
might be broken/unavailable in this case).
199-
Also show StackTraces on internal errors to faciliate debugging
199+
Also show StackTraces on internal errors to facilitate debugging
200200
* More consistent messages after (un)successful commands
201201
* Remove CSS hack to get rid of tab scrolling when you have many tabs because some
202202
users complained about this change. If you want to allow your tabs to shrink
@@ -734,7 +734,7 @@
734734
* hints work on xhtml pages now (you need to reset the 'hinttags' and
735735
'extendedhinttags' settings with [c]:set hinttags&[c] and [c]:set extendedhinttags&[c])
736736
* [c]:set option&[c] resets the option to the default value
737-
* added [c]:tabonly[c] and [c]:tabrewind[c] and [c]:tablast[c] commands and some futher aliases [c]:tabNext[c], etc. (by Doug Kearns)
737+
* added [c]:tabonly[c] and [c]:tabrewind[c] and [c]:tablast[c] commands and some further aliases [c]:tabNext[c], etc. (by Doug Kearns)
738738
* added vimparator.vim for .vimperatorrc syntax highlighting in the XPI (by Doug Kearns)
739739
* Added keyword support for bookmarks to the [c]:[tab]open[c] commands
740740
* many small bug fixes and enhancements
@@ -771,7 +771,7 @@
771771
also changed [c]:exec[c] to behave more Vim like
772772
* fixed saving of session
773773
* fixed hints display when zooming in/out of a web page
774-
* added [m]B[m] command for continous buffer display
774+
* added [m]B[m] command for continuous buffer display
775775
* changed 'hintsize' to 12px by default
776776
* 'previewheight' setting to set the maximum size for the preview window
777777
* showmode setting which shows the current mode in the command line (patch from Виктор Кожухаров)

vimperator/TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Priority list:
33

44
This is just a quick list of general ideas, which shouldn't be forgotten.
55
Many other ideas are listed in the wiki and probably these things should
6-
be transfered there as well, for now it just quicker to add/change
6+
be transferred there as well, for now it just quicker to add/change
77
things in this list.
88

99
BUGS:

vimperator/content/tabgroup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ var TabGroup = Module("tabGroup", {
357357
/**
358358
* Panorama SubCommand remove
359359
* remove {group}.
360-
* remove the current group if {group} is ommited.
360+
* remove the current group if {group} is omitted.
361361
*/
362362
new Command(["remove", "rm"], "Close the tab group (including all tabs!)",
363363
function (args) { if (tabGroup.TV) tabGroup.remove(args.literalArg); },
@@ -368,7 +368,7 @@ var TabGroup = Module("tabGroup", {
368368
/**
369369
* Panorama SubCommand rename
370370
* rename {name}.
371-
* clear the name of the current group if bang(!) specified and {name} is ommited.
371+
* clear the name of the current group if bang(!) specified and {name} is omitted.
372372
*/
373373
new Command(["rename", "mv"], "Rename current tab group (or reset to '(Untitled)').",
374374
function (args) {

0 commit comments

Comments
 (0)