MCPcopy Index your code
hub / github.com/csev/py4e / SharedTextMarker

Function SharedTextMarker

tools/pythonauto/static/codemirror/codemirror.js:4022–4029  ·  view source on GitHub ↗
(markers, primary)

Source from the content-addressed store, hash-verified

4020 // SHARED TEXTMARKERS
4021
4022 function SharedTextMarker(markers, primary) {
4023 this.markers = markers;
4024 this.primary = primary;
4025 for (var i = 0, me = this; i < markers.length; ++i) {
4026 markers[i].parent = this;
4027 on(markers[i], "clear", function(){me.clear();});
4028 }
4029 }
4030 CodeMirror.SharedTextMarker = SharedTextMarker;
4031 eventMixin(SharedTextMarker);
4032

Callers

nothing calls this directly

Calls 2

onFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected