Skip to content

Commit 4d1e417

Browse files
jsorefmarijnh
authored andcommitted
Many spelling corrections
1 parent 78aaa54 commit 4d1e417

File tree

26 files changed

+51
-51
lines changed

26 files changed

+51
-51
lines changed

addon/hint/sql-hint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
}
106106

107107
function nameCompletion(cur, token, result, editor) {
108-
// Try to complete table, colunm names and return start position of completion
108+
// Try to complete table, column names and return start position of completion
109109
var useBacktick = false;
110110
var nameParts = [];
111111
var start = token.start;

addon/search/match-highlighter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// highlighted only if the selected text is a word. showToken, when enabled,
1717
// will cause the current token to be highlighted when nothing is selected.
1818
// delay is used to specify how much time to wait, in milliseconds, before
19-
// highlighting the matches. If annotateScrollbar is enabled, the occurances
19+
// highlighting the matches. If annotateScrollbar is enabled, the occurences
2020
// will be highlighted on the scrollbar via the matchesonscrollbar addon.
2121

2222
(function(mod) {

bin/compress

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// Script files are specified without .js ending. Prefixing them with
1919
// their full (local) path is optional. So you may say lib/codemirror
2020
// or mode/xml/xml to be more precise. In fact, even the .js suffix
21-
// may be speficied, if wanted.
21+
// may be specified, if wanted.
2222

2323
"use strict";
2424

@@ -68,7 +68,7 @@ walk("mode/");
6868
if (!local && !blob) help(false);
6969

7070
if (files.length) {
71-
console.log("Some speficied files were not found: " +
71+
console.log("Some specified files were not found: " +
7272
files.map(function(a){return a.name;}).join(", "));
7373
process.exit(1);
7474
}

doc/manual.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ <h3 id="api_static">Static properties</h3>
21002100
created from then on.</dd>
21012101

21022102
<dt id="defineDocExtension"><code><strong>CodeMirror.defineDocExtension</strong>(name: string, value: any)</code></dt>
2103-
<dd>Like <a href="#defineExtenstion"><code>defineExtension</code></a>,
2103+
<dd>Like <a href="#defineExtension"><code>defineExtension</code></a>,
21042104
but the method will be added to the interface
21052105
for <a href="#Doc"><code>Doc</code></a> objects instead.</dd>
21062106

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h2>This is CodeMirror</h2>
106106
maintainers need to subsist.<br>
107107
Current funding status = <img src="https://marijnhaverbeke.nl/fund/status_s.png" title="Current maintainer happiness" style="vertical-align: middle; height: 16px; width: 16px"><br>
108108
You can help <a href="https://marijnhaverbeke.nl/fund/" title="Set up a monthly contribution">per month</a> or
109-
<a title="Donate with Paypal" href="javascript:document.getElementById('paypal').submit();">once</a>.
109+
<a title="Donate with PayPal" href="javascript:document.getElementById('paypal').submit();">once</a>.
110110
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypal">
111111
<input type="hidden" name="cmd" value="_s-xclick"/>
112112
<input type="hidden" name="hosted_button_id" value="3FVHS5FGUY7CC"/>

keymap/vim.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* 2. Variable declarations and short basic helpers
2727
* 3. Instance (External API) implementation
2828
* 4. Internal state tracking objects (input state, counter) implementation
29-
* and instanstiation
29+
* and instantiation
3030
* 5. Key handler (the main command dispatcher) implementation
3131
* 6. Motion, operator, and action implementations
3232
* 7. Helper functions for the key handler, motions, operators, and actions
@@ -642,7 +642,7 @@
642642
jumpList: createCircularJumpList(),
643643
macroModeState: new MacroModeState,
644644
// Recording latest f, t, F or T motion command.
645-
lastChararacterSearch: {increment:0, forward:true, selectedCharacter:''},
645+
lastCharacterSearch: {increment:0, forward:true, selectedCharacter:''},
646646
registerController: new RegisterController({}),
647647
// search history buffer
648648
searchHistoryController: new HistoryController({}),
@@ -1373,7 +1373,7 @@
13731373
}
13741374
},
13751375
evalInput: function(cm, vim) {
1376-
// If the motion comand is set, execute both the operator and motion.
1376+
// If the motion command is set, execute both the operator and motion.
13771377
// Otherwise return.
13781378
var inputState = vim.inputState;
13791379
var motion = inputState.motion;
@@ -1910,7 +1910,7 @@
19101910
},
19111911

19121912
repeatLastCharacterSearch: function(cm, head, motionArgs) {
1913-
var lastSearch = vimGlobalState.lastChararacterSearch;
1913+
var lastSearch = vimGlobalState.lastCharacterSearch;
19141914
var repeat = motionArgs.repeat;
19151915
var forward = motionArgs.forward === lastSearch.forward;
19161916
var increment = (lastSearch.increment ? 1 : 0) * (forward ? -1 : 1);
@@ -3089,9 +3089,9 @@
30893089
}
30903090

30913091
function recordLastCharacterSearch(increment, args) {
3092-
vimGlobalState.lastChararacterSearch.increment = increment;
3093-
vimGlobalState.lastChararacterSearch.forward = args.forward;
3094-
vimGlobalState.lastChararacterSearch.selectedCharacter = args.selectedCharacter;
3092+
vimGlobalState.lastCharacterSearch.increment = increment;
3093+
vimGlobalState.lastCharacterSearch.forward = args.forward;
3094+
vimGlobalState.lastCharacterSearch.selectedCharacter = args.selectedCharacter;
30953095
}
30963096

30973097
var symbolToMode = {
@@ -3451,7 +3451,7 @@
34513451
}
34523452

34533453
// TODO: perhaps this finagling of start and end positions belonds
3454-
// in codmirror/replaceRange?
3454+
// in codemirror/replaceRange?
34553455
function selectCompanionObject(cm, head, symb, inclusive) {
34563456
var cur = head, start, end;
34573457

mode/clike/clike.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
667667

668668
def("text/x-objectivec", {
669669
name: "clike",
670-
keywords: words(cKeywords + "inline restrict _Bool _Complex _Imaginery BOOL Class bycopy byref id IMP in " +
670+
keywords: words(cKeywords + "inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in " +
671671
"inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),
672672
types: words(cTypes),
673673
atoms: words("YES NO NULL NILL ON OFF true false"),

mode/crystal/crystal.js

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

210210
// Operators
211211
if (stream.match(operators)) {
212-
stream.eat("="); // Operators can follow assigin symbol.
212+
stream.eat("="); // Operators can follow assign symbol.
213213
return "operator";
214214
}
215215

mode/django/django.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@
6666
}
6767

6868
// A string can be included in either single or double quotes (this is
69-
// the delimeter). Mark everything as a string until the start delimeter
69+
// the delimiter). Mark everything as a string until the start delimiter
7070
// occurs again.
71-
function inString (delimeter, previousTokenizer) {
71+
function inString (delimiter, previousTokenizer) {
7272
return function (stream, state) {
73-
if (!state.escapeNext && stream.eat(delimeter)) {
73+
if (!state.escapeNext && stream.eat(delimiter)) {
7474
state.tokenize = previousTokenizer;
7575
} else {
7676
if (state.escapeNext) {
@@ -80,7 +80,7 @@
8080
var ch = stream.next();
8181

8282
// Take into account the backslash for escaping characters, such as
83-
// the string delimeter.
83+
// the string delimiter.
8484
if (ch == "\\") {
8585
state.escapeNext = true;
8686
}
@@ -100,7 +100,7 @@
100100
return "null";
101101
}
102102

103-
// Dot folowed by a non-word character should be considered an error.
103+
// Dot followed by a non-word character should be considered an error.
104104
if (stream.match(/\.\W+/)) {
105105
return "error";
106106
} else if (stream.eat(".")) {
@@ -119,7 +119,7 @@
119119
return "null";
120120
}
121121

122-
// Pipe folowed by a non-word character should be considered an error.
122+
// Pipe followed by a non-word character should be considered an error.
123123
if (stream.match(/\.\W+/)) {
124124
return "error";
125125
} else if (stream.eat("|")) {
@@ -199,7 +199,7 @@
199199
return "null";
200200
}
201201

202-
// Dot folowed by a non-word character should be considered an error.
202+
// Dot followed by a non-word character should be considered an error.
203203
if (stream.match(/\.\W+/)) {
204204
return "error";
205205
} else if (stream.eat(".")) {
@@ -218,7 +218,7 @@
218218
return "null";
219219
}
220220

221-
// Pipe folowed by a non-word character should be considered an error.
221+
// Pipe followed by a non-word character should be considered an error.
222222
if (stream.match(/\.\W+/)) {
223223
return "error";
224224
} else if (stream.eat("|")) {

mode/gfm/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2>GFM mode</h2>
4747
GFM adds syntax to strikethrough text, which is missing from standard Markdown.
4848

4949
~~Mistaken text.~~
50-
~~**works with other fomatting**~~
50+
~~**works with other formatting**~~
5151

5252
~~spans across
5353
lines~~

0 commit comments

Comments
 (0)