Skip to content
Snippets Groups Projects
Commit 59ccdda9 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[manual] Fix inaccuate claim that getModeAt exists on docs

Issue #3214
parent 21e6d2ff
No related branches found
No related tags found
No related merge requests found
......@@ -1849,7 +1849,7 @@ editor.setOption("extraKeys", {
the mode specification, rather than the resolved, instantiated
<a href="#defineMode">mode object</a>.</dd>
<dt id="getModeAt"><code><strong>doc.getModeAt</strong>(pos: {line, ch}) → object</code></dt>
<dt id="getModeAt"><code><strong>cm.getModeAt</strong>(pos: {line, ch}) → object</code></dt>
<dd>Gets the inner mode at a given position. This will return
the same as <a href="#getMode"><code>getMode</code></a> for
simple modes, but will return an inner mode for nesting modes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment