summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-01-01 21:23:14 +1100
committerDoug Kearns <dougkearns@gmail.com>2009-01-01 22:01:56 +1100
commiteeca6114355545ddb5db9123f364df72cc324fda (patch)
tree0529f4452f0f9d0549c47ad68ede5f3b630e277d /common/content/editor.js
parent8691d0c51d761357e5ca722d4b37218223608578 (diff)
downloadpentadactyl-eeca6114355545ddb5db9123f364df72cc324fda.tar.gz
Add some more rough source documentation.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r--common/content/editor.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/content/editor.js b/common/content/editor.js
index efebefd3..efda6794 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -709,7 +709,7 @@ function Editor() //{{{
// This function will move/select up to given "pos"
// Simple setSelectionRange() would be better, but we want to maintain the correct
- // order of selectionStart/End (a firefox bug always makes selectionStart <= selectionEnd)
+ // order of selectionStart/End (a Firefox bug always makes selectionStart <= selectionEnd)
// Use only for small movements!
moveToPosition: function (pos, forward, select)
{
@@ -900,7 +900,7 @@ function Editor() //{{{
//
// if filter == ! remove all and add it as only END
//
- // variant 1: rhs matches anywere in loop
+ // variant 1: rhs matches anywhere in loop
//
// 1 mod matches anywhere in loop
// a) simple replace and
@@ -913,7 +913,7 @@ function Editor() //{{{
// (b) a ! is there. do nothing END)
//
// variant 2: rhs matches *no*were in loop and filter is c or i
- // everykind of current combo is possible to 1 {c,i,!} or two {c and i}
+ // every kind of current combo is possible to 1 {c,i,!} or two {c and i}
//
// 1 mod is ! split into two i + c END
// 1 not !: opposite mode (first), add/change 'second' and END