(e3, t3)
| 5821 | const i3 = e3, s3 = this._getEntryIdKey(i3), r2 = this._entriesWithId.get(s3); |
| 5822 | if (r2) return this.addLineToLink(r2.id, t3.ybase + t3.y), r2.id; |
| 5823 | const n2 = t3.addMarker(t3.ybase + t3.y), o2 = { id: this._nextId++, key: this._getEntryIdKey(i3), data: i3, lines: [n2] }; |
| 5824 | return n2.onDispose((() => this._removeMarkerFromLink(o2, n2))), this._entriesWithId.set(o2.key, o2), this._dataByLinkId.set(o2.id, o2), o2.id; |
| 5825 | } |
| 5826 | addLineToLink(e3, t3) { |
| 5827 | const i3 = this._dataByLinkId.get(e3); |
| 5828 | if (i3 && i3.lines.every(((e4) => e4.line !== t3))) { |
| 5829 | const e4 = this._bufferService.buffer.addMarker(t3); |
| 5830 | i3.lines.push(e4), e4.onDispose((() => this._removeMarkerFromLink(i3, e4))); |
| 5831 | } |
| 5832 | } |
no test coverage detected