From c1d75b7628cabf346ec872269aafc4bb3d5c739a Mon Sep 17 00:00:00 2001 From: Bruce Mitchener <bruce.mitchener@gmail.com> Date: Wed, 29 Jan 2014 10:24:48 +0700 Subject: [PATCH] [docs & project page] Typo fixes. --- doc/manual.html | 6 +++--- index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/manual.html b/doc/manual.html index c56af630e..67198b1f1 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -446,7 +446,7 @@ <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 @@ 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 @@ 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> diff --git a/index.html b/index.html index 7097608d8..72f8245ed 100644 --- a/index.html +++ b/index.html @@ -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 -- GitLab