Permalink
Browse files

[docs & project page] Typo fixes.

  • Loading branch information...
waywardmonkeys authored and marijnh committed Jan 29, 2014
1 parent 76c9734 commit c1d75b7628cabf346ec872269aafc4bb3d5c739a
Showing with 4 additions and 4 deletions.
  1. +3 −3 doc/manual.html
  2. +1 −1 index.html
View
@@ -446,7 +446,7 @@ <h2>Events</h2>
<p>Various CodeMirror-related objects emit events, which allow
client code to react to various situations. Handlers for such
- events can be registed with the <a href="#on"><code>on</code></a>
+ events can be registered with the <a href="#on"><code>on</code></a>
and <a href="#off"><code>off</code></a> methods on the objects
that the event fires on. To fire your own events,
use <code>CodeMirror.signal(target, name, args...)</code>,
@@ -1262,7 +1262,7 @@ <h3 id="api_marker">Text-marking methods</h3>
only in its target document.</dd>
</dl>
The method will return an object that represents the marker
- (with constuctor <code>CodeMirror.TextMarker</code>), which
+ (with constructor <code>CodeMirror.TextMarker</code>), which
exposes three methods:
<code><strong>clear</strong>()</code>, to remove the mark,
<code><strong>find</strong>()</code>, which returns
@@ -2065,7 +2065,7 @@ <h2>Addons</h2>
uses <code>CodeMirror.hint.fromList</code> to complete from
those.</dd>
<dd>When completions
- aren't simple strings, they should be objects with the folowing
+ aren't simple strings, they should be objects with the following
properties:
<dl>
<dt><code><strong>text</strong>: string</code></dt>
View
@@ -41,7 +41,7 @@
<p><strong>CodeMirror</strong> is a versatile text editor
implemented in JavaScript for the browser. It is specialized for
editing code, and comes with a number of language modes and addons
- that implement more advanced editing functionaly.</p>
+ that implement more advanced editing functionality.</p>
<p>A rich <a href="doc/manual.html#api">programming API</a> and a
CSS <a href="doc/manual.html#styling">theming</a> system are

0 comments on commit c1d75b7

Please sign in to comment.