Skip to content

Commit

Permalink
Fix various spelling mistakes
Browse files Browse the repository at this point in the history
* spelling: across

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: advise

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: aframework

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: after

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alphanumeric

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: anyway

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: async

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: available

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: backticks

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: behavior

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: bracket

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cacheable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: characters

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: completeable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: data

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: definition

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: different

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: do not

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: duplicate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: e.g.

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entities

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: expression-in

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: extract

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: feedback

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: filesystem

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: function

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: height

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: highlighted

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: i'm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: identifier

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: immediately

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: in case

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: indentation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: independent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initial

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interchangeable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interruptible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interviews

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: intrinsic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: label

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: matching

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: misbehavior

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: number

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: numbered

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: occurrences

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: repeatedly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: separator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: string

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: styleable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: textarea

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: texture

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: useful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: whenever

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: wikipedia

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Jan 8, 2021
1 parent d19a746 commit 498e7c0
Show file tree
Hide file tree
Showing 52 changed files with 91 additions and 91 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Make Shift-Delete to cut work on Firefox.

[handlebars mode](https://codemirror.net/mode/handlebars/): Fix triple-brace support.

[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support mathing `$` in reverse regexp search.
[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support matching `$` in reverse regexp search.

[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Don't get confused by changing panel sizes.

Expand Down Expand Up @@ -490,7 +490,7 @@ Add `hintWords` (basic completion) helper to [clojure](https://codemirror.net/mo

[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Fix problem where replacing the last remaining panel dropped the newly added panel.

[hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): Fix an infinite loop when the indention is greater than the target column.
[hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): Fix an infinite loop when the indentation is greater than the target column.

[jinja2](https://codemirror.net/mode/jinja2/) and [markdown](https://codemirror.net/mode/markdown/) modes: Add comment metadata.

Expand Down Expand Up @@ -878,7 +878,7 @@ Add `role=presentation` to more DOM elements to improve screen reader support.

[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Make aligning of unchanged chunks more robust.

[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (differnet) block comment.
[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (different) block comment.

[javascript mode](https://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.

Expand Down Expand Up @@ -996,7 +996,7 @@ New event: [`optionChange`](https://codemirror.net/doc/manual.html#event_optionC

Tapping/clicking the editor in [contentEditable mode](https://codemirror.net/doc/manual.html#option_inputStyle) on Chrome now puts the cursor at the tapped position.

Fix various crashes and misbehaviors when reading composition events in [contentEditable mode](https://codemirror.net/doc/manual.html#option_inputStyle).
Fix various crashes and misbehavior when reading composition events in [contentEditable mode](https://codemirror.net/doc/manual.html#option_inputStyle).

Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a `<body>`.

Expand Down Expand Up @@ -1331,7 +1331,7 @@ Fix a [bug](https://github.com/codemirror/CodeMirror/issues/3834) that caused ph
* New modes: [Vue](https://codemirror.net/mode/vue/index.html), [Oz](https://codemirror.net/mode/oz/index.html), [MscGen](https://codemirror.net/mode/mscgen/index.html) (and dialects), [Closure Stylesheets](https://codemirror.net/mode/css/gss.html)
* Implement [CommonMark](http://commonmark.org)-style flexible list indent and cross-line code spans in [Markdown](https://codemirror.net/mode/markdown/index.html) mode
* Add a replace-all button to the [search addon](https://codemirror.net/doc/manual.html#addon_search), and make the persistent search dialog transparent when it obscures the match
* Handle `acync`/`await` and ocal and binary numbers in [JavaScript mode](https://codemirror.net/mode/javascript/index.html)
* Handle `async`/`await` and ocal and binary numbers in [JavaScript mode](https://codemirror.net/mode/javascript/index.html)
* Fix various issues with the [Haxe mode](https://codemirror.net/mode/haxe/index.html)
* Make the [closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets) select only the wrapped text when wrapping selection in brackets
* Tokenize properties as properties in the [CoffeeScript mode](https://codemirror.net/mode/coffeescript/index.html)
Expand Down Expand Up @@ -1818,7 +1818,7 @@ Emergency fix for a bug where an editor with line wrapping on IE will break when
* Slightly incompatible API changes. Read [this](https://codemirror.net/doc/upgrade_v2.2.html).
* New approach to [binding](https://codemirror.net/doc/manual.html#option_extraKeys) keys, support for [custom bindings](https://codemirror.net/doc/manual.html#option_keyMap).
* Support for overwrite (insert).
* [Custom-width](https://codemirror.net/doc/manual.html#option_tabSize) and [stylable](https://codemirror.net/demo/visibletabs.html) tabs.
* [Custom-width](https://codemirror.net/doc/manual.html#option_tabSize) and [styleable](https://codemirror.net/demo/visibletabs.html) tabs.
* Moved more code into [add-on scripts](https://codemirror.net/doc/manual.html#addons).
* Support for sane vertical cursor movement in wrapped lines.
* More reliable handling of editing [marked text](https://codemirror.net/doc/manual.html#markText).
Expand All @@ -1832,7 +1832,7 @@ Fixes `TextMarker.clear`, which is broken in 2.17.
## 2.17.0 (2011-11-21)

* Add support for [line wrapping](https://codemirror.net/doc/manual.html#option_lineWrapping) and [code folding](https://codemirror.net/doc/manual.html#hideLine).
* Add [Github-style Markdown](https://codemirror.net/mode/gfm/index.html) mode.
* Add [GitHub-style Markdown](https://codemirror.net/mode/gfm/index.html) mode.
* Add [Monokai](https://codemirror.net/theme/monokai.css) and [Rubyblue](https://codemirror.net/theme/rubyblue.css) themes.
* Add [`setBookmark`](https://codemirror.net/doc/manual.html#setBookmark) method.
* Move some of the demo code into reusable components under [`lib/util`](https://codemirror.net/addon/).
Expand Down
2 changes: 1 addition & 1 deletion addon/edit/continuelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
});
} else {
if (startIndent.length > nextIndent.length) return;
// This doesn't run if the next line immediatley indents, as it is
// This doesn't run if the next line immediately indents, as it is
// not clear of the users intention (new indented item or same level)
if ((startIndent.length < nextIndent.length) && (lookAhead === 1)) return;
skipCount += 1;
Expand Down
2 changes: 1 addition & 1 deletion addon/edit/matchbrackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

if (marks.length) {
// Kludge to work around the IE bug from issue #1193, where text
// input stops going to the textare whever this fires.
// input stops going to the textarea whenever this fires.
if (ie_lt8 && cm.state.focused) cm.focus();

var clear = function() {
Expand Down
2 changes: 1 addition & 1 deletion addon/hint/javascript-hint.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
function getCoffeeScriptToken(editor, cur) {
// This getToken, it is for coffeescript, imitates the behavior of
// getTokenAt method in javascript.js, that is, returning "property"
// type and treat "." as indepenent token.
// type and treat "." as independent token.
var token = editor.getTokenAt(cur);
if (cur.ch == token.start + 1 && token.string.charAt(0) == '.') {
token.end = token.start;
Expand Down
4 changes: 2 additions & 2 deletions addon/hint/sql-hint.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
if (name.charAt(0) == ".") {
name = name.substr(1);
}
// replace doublicated identifierQuotes with single identifierQuotes
// replace duplicated identifierQuotes with single identifierQuotes
// and remove single identifierQuotes
var nameParts = name.split(identifierQuote+identifierQuote);
for (var i = 0; i < nameParts.length; i++)
Expand All @@ -109,7 +109,7 @@
var nameParts = getText(name).split(".");
for (var i = 0; i < nameParts.length; i++)
nameParts[i] = identifierQuote +
// doublicate identifierQuotes
// duplicate identifierQuotes
nameParts[i].replace(new RegExp(identifierQuote,"g"), identifierQuote+identifierQuote) +
identifierQuote;
var escaped = nameParts.join(".");
Expand Down
2 changes: 1 addition & 1 deletion addon/search/match-highlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// highlighted only if the selected text is a word. showToken, when enabled,
// will cause the current token to be highlighted when nothing is selected.
// delay is used to specify how much time to wait, in milliseconds, before
// highlighting the matches. If annotateScrollbar is enabled, the occurences
// highlighting the matches. If annotateScrollbar is enabled, the occurrences
// will be highlighted on the scrollbar via the matchesonscrollbar addon.

(function(mod) {
Expand Down
4 changes: 2 additions & 2 deletions demo/complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>Autocomplete Demo</h2>
addons.</p>

<form><textarea style="display: none" id="synonyms" name="synonyms">
Here, the completion use an asynchronous hinting functions to provide
Here, the completion use an asynchronous hinting function to provide
synonyms for each words. If your browser support `Promises`, the
hinting function can also return one.
</textarea></form>
Expand All @@ -88,7 +88,7 @@ <h2>Autocomplete Demo</h2>
["here", "hither"],
["asynchronous", "nonsynchronous"],
["completion", "achievement", "conclusion", "culmination", "expirations"],
["hinting", "advive", "broach", "imply"],
["hinting", "advise", "broach", "imply"],
["function","action"],
["provide", "add", "bring", "give"],
["synonyms", "equivalents"],
Expand Down
2 changes: 1 addition & 1 deletion demo/matchhighlighter.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ <h2>Match Highlighter Demo</h2>
});
</script>

<p>Search and highlight occurences of the selected text.</p>
<p>Search and highlight occurrences of the selected text.</p>

</article>
2 changes: 1 addition & 1 deletion demo/simplemode.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h2>Simple Mode Demo</h2>
*/

CodeMirror.defineSimpleMode("simplemode", {
// The start state contains the rules that are intially used
// The start state contains the rules that are initially used
start: [
// The regex matches the token, the token property contains the type
{regex: /"(?:[^\\]|\\.)*?(?:"|$)/, token: "string"},
Expand Down
2 changes: 1 addition & 1 deletion doc/internals.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ <h2>Intelligent Updating</h2>
<h2>Parsers can be Simple</h2>

<p>When I wrote CodeMirror 1, I
thought <a href="https://codemirror.net/story.html#parser">interruptable
thought <a href="https://codemirror.net/story.html#parser">interruptible
parsers</a> were a hugely scary and complicated thing, and I used a
bunch of heavyweight abstractions to keep this supposed complexity
under control: parsers
Expand Down
8 changes: 4 additions & 4 deletions doc/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ <h2 id="addons">Addons</h2>
Accepts <code>linenumber</code>, <code>+/-linenumber</code>, <code>line:char</code>,
<code>scroll%</code> and <code>:linenumber</code> formats.
This will make use of <a href="#addon_dialog"><code>openDialog</code></a>
when available to make prompting for line number neater.</dd> Demo avaliable <a href="https://codemirror.net/demo/search.html">here</a>.
when available to make prompting for line number neater.</dd> Demo available <a href="https://codemirror.net/demo/search.html">here</a>.

<dt id="addon_matchesonscrollbar"><a href="../addon/search/matchesonscrollbar.js"><code>search/matchesonscrollbar.js</code></a></dt>
<dd>Adds a <code>showMatchesOnScrollbar</code> method to editor
Expand Down Expand Up @@ -2721,7 +2721,7 @@ <h2 id="addons">Addons</h2>
the <code>"hint"</code> type to find applicable hinting
functions, and tries them one by one. If that fails, it looks
for a <code>"hintWords"</code> helper to fetch a list of
completable words for the mode, and
completeable words for the mode, and
uses <code>CodeMirror.hint.fromList</code> to complete from
those.</dd>
<dd>When completions aren't simple strings, they should be
Expand Down Expand Up @@ -3683,13 +3683,13 @@ <h3 id="vimapi_extending">Extending VIM</h3>
<dt id="vimapi_getRegisterController"><strong><code>getRegisterController()</code></strong></dt>
<dd>Returns the RegisterController that manages the state of registers
used by vim mode. For the RegisterController api see its
defintion <a href="https://github.com/CodeMirror/CodeMirror/blob/b2d26b4ccb1d0994ae84d18ad8b84018de176da9/keymap/vim.js#L1123">here</a>.
definition <a href="https://github.com/CodeMirror/CodeMirror/blob/b2d26b4ccb1d0994ae84d18ad8b84018de176da9/keymap/vim.js#L1123">here</a>.
</dd>

<dt id='vimapi_buildkeymap'><strong><code>buildKeyMap()</code></strong></dt>
<dd>
Not currently implemented. If you would like to contribute this please open
a pull request on <a href="https://github.com/codemirror/CodeMirror">Github</a>.
a pull request on <a href="https://github.com/codemirror/CodeMirror">GitHub</a>.
</dd>

<dt id="vimapi_defineRegister"><strong><code>defineRegister()</code></strong></dt>
Expand Down
4 changes: 2 additions & 2 deletions doc/realworld.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>CodeMirror real-world uses</h2>
<li><a href="http://eloquentjavascript.net/chapter1.html">Eloquent JavaScript</a> (book)</li>
<li><a href="http://emmet.io">Emmet</a> (fast XML editing)</li>
<li><a href="https://github.com/espruino/EspruinoWebIDE">Espruino Web IDE</a> (Chrome App for writing code on Espruino devices)</li>
<li><a href="https://exlskills.com/learn-en/talent/interviews">EXLskills Live Interivews</a></li>
<li><a href="https://exlskills.com/learn-en/talent/interviews">EXLskills Live Interviews</a></li>
<li><a href="http://www.fastfig.com/">Fastfig</a> (online computation/math tool)</li>
<li><a href="https://metacpan.org/module/Farabi">Farabi</a> (modern Perl IDE)</li>
<li><a href="http://blog.pamelafox.org/2012/02/interactive-html5-slides-with-fathomjs.html">FathomJS integration</a> (slides with editors, again)</li>
Expand All @@ -92,7 +92,7 @@ <h2>CodeMirror real-world uses</h2>
<li><a href="https://gerritcodereview.com/">Gerrit</a>'s diff view and inline editor</li>
<li><a href="https://github.com/maks/git-crx">Git Crx</a> (Chrome App for browsing local git repos)</li>
<li><a href="https://github.com/github/android">GitHub's Android app</a></li>
<li><a href="https://github.com/">Github</a>'s in-browser edit feature</li>
<li><a href="https://github.com/">GitHub</a>'s in-browser edit feature</li>
<li><a href="https://glitch.com/">Glitch</a> (community-driven app building)</li>
<li><a href="http://tour.golang.org">Go language tour</a></li>
<li><a href="https://script.google.com/">Google Apps Script</a></li>
Expand Down
Loading

0 comments on commit 498e7c0

Please sign in to comment.