Skip to content

Commit fd4743a

Browse files
committed
[manual] Mention CodeMirror.signal
Closes #1698
1 parent 1d2bda8 commit fd4743a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/manual.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,9 @@ <h2 id="events">Events</h2>
379379
client code to react to various situations. Handlers for such
380380
events can be registed with the <a href="#on"><code>on</code></a>
381381
and <a href="#off"><code>off</code></a> methods on the objects
382-
that the event fires on.</p>
382+
that the event fires on. To fire your own events,
383+
use <code>CodeMirror.signal(target, name, args...)</code>,
384+
where <code>target</code> is a non-DOM-node object.</p>
383385

384386
<p>An editor instance fires the following events.
385387
The <code>instance</code> argument always refers to the editor

0 commit comments

Comments
 (0)