Skip to content

Commit e4ca909

Browse files
committed
Fix toggleComment signature in the manual
Closes codemirror#5654.
1 parent b99149d commit e4ca909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2478,7 +2478,7 @@ <h2 id="addons">Addons</h2>
24782478
<dd>Addon for commenting and uncommenting code. Adds four
24792479
methods to CodeMirror instances:
24802480
<dl>
2481-
<dt id="toggleComment"><code><strong>toggleComment</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>
2481+
<dt id="toggleComment"><code><strong>toggleComment</strong>(?options: object)</code></dt>
24822482
<dd>Tries to uncomment the current selection, and if that
24832483
fails, line-comments it.</dd>
24842484
<dt id="lineComment"><code><strong>lineComment</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>

0 commit comments

Comments
 (0)