code: function SharedTextMarker(markers, primary) {
      this.markers = markers;
      this.primary = primary;
      for (var i = 0, me = this; i < markers.length; ++i) {
        markers[i].parent = this;
        on(markers[i], "clear", function(){me.clear();});
      }
    }
docs: SHARED TEXTMARKERS