Skip to content

Commit

Permalink
Remove repeated words in comments
Browse files Browse the repository at this point in the history
Signed-off-by: pkucode <cssjtu@163.com>
  • Loading branch information
pkucode committed Aug 15, 2024
1 parent 13eeec1 commit 48d159a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon/edit/matchbrackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
afterCursor = /(^| )cm-fat-cursor($| )/.test(cm.getWrapperElement().className)
var re = bracketRegex(config)

// A cursor is defined as between two characters, but in in vim command mode
// A cursor is defined as between two characters, but in vim command mode
// (i.e. not insert mode), the cursor is visually represented as a
// highlighted box on top of the 2nd character. Otherwise, we allow matches
// from before or after the cursor.
Expand Down
2 changes: 1 addition & 1 deletion doc/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -3733,7 +3733,7 @@ <h3 id="vimapi_extending">Extending VIM</h3>
been mapped to their Vim equivalents. Finds a command based on the key
(and cached keys if there is a multi-key sequence). Returns <code>undefined</code>
if no key is matched, a noop function if a partial match is found (multi-key),
and a function to execute the bound command if a a key is matched. The
and a function to execute the bound command if a key is matched. The
function always returns true.
</dd>

Expand Down
2 changes: 1 addition & 1 deletion src/display/update_lines.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function updateWidgetHeight(line) {
}

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

0 comments on commit 48d159a

Please sign in to comment.