Skip to content

Commit 48d159a

Browse files
authored
Remove repeated words in comments
Signed-off-by: pkucode <[email protected]>
1 parent 13eeec1 commit 48d159a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

addon/edit/matchbrackets.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
afterCursor = /(^| )cm-fat-cursor($| )/.test(cm.getWrapperElement().className)
2828
var re = bracketRegex(config)
2929

30-
// A cursor is defined as between two characters, but in in vim command mode
30+
// A cursor is defined as between two characters, but in vim command mode
3131
// (i.e. not insert mode), the cursor is visually represented as a
3232
// highlighted box on top of the 2nd character. Otherwise, we allow matches
3333
// from before or after the cursor.

doc/manual.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3733,7 +3733,7 @@ <h3 id="vimapi_extending">Extending VIM</h3>
37333733
been mapped to their Vim equivalents. Finds a command based on the key
37343734
(and cached keys if there is a multi-key sequence). Returns <code>undefined</code>
37353735
if no key is matched, a noop function if a partial match is found (multi-key),
3736-
and a function to execute the bound command if a a key is matched. The
3736+
and a function to execute the bound command if a key is matched. The
37373737
function always returns true.
37383738
</dd>
37393739

src/display/update_lines.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function updateWidgetHeight(line) {
5858
}
5959

6060
// Compute the lines that are visible in a given viewport (defaults
61-
// the the current scroll position). viewport may contain top,
61+
// the current scroll position). viewport may contain top,
6262
// height, and ensure (see op.scrollToPos) properties.
6363
export function visibleLines(display, doc, viewport) {
6464
let top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop

0 commit comments

Comments
 (0)