MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / onEditorActivity

Function onEditorActivity

lib/web/CodeMirror/addon/tern/tern.js:627–638  ·  view source on GitHub ↗
(cm, f)

Source from the content-addressed store, hash-verified

625 }
626
627 function onEditorActivity(cm, f) {
628 cm.on("cursorActivity", f)
629 cm.on("blur", f)
630 cm.on("scroll", f)
631 cm.on("setDoc", f)
632 return function() {
633 cm.off("cursorActivity", f)
634 cm.off("blur", f)
635 cm.off("scroll", f)
636 cm.off("setDoc", f)
637 }
638 }
639
640 function makeTooltip(x, y, content, cm) {
641 var node = elt("div", cls + "tooltip", content);

Callers 2

showArgHintsFunction · 0.85
tempTooltipFunction · 0.85

Calls 2

onMethod · 0.45
offMethod · 0.45

Tested by

no test coverage detected