Skip to content

Commit e49a19f

Browse files
committed
Document CodeMirror.countColumn
Issue codemirror#4929
1 parent 9d19fa4 commit e49a19f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/manual.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,6 +2229,9 @@ <h3 id="api_static">Static properties</h3>
22292229
various <a href="#event_change">event handlers</a>). The
22302230
returned position will be the end of the changed
22312231
range, <em>after</em> the change is applied.</dd>
2232+
2233+
<dt id="countColumn"><code><strong>CodeMirror.countColumn</strong>(line: string, index: number, tabSize: number) → number</code></dt>
2234+
<dd>Find the column position at a given string index using a given tabsize.</dd>
22322235
</dl>
22332236
</section>
22342237

0 commit comments

Comments
 (0)