Go back to exact range match for .findMarker()
MODIFY
lib/buffer-search.js
lib/buffer-search.js
@@ -267,7 +267,8 @@ class BufferSearch {
findMarker(range) {
if (this.resultsMarkerLayer) {
return this.resultsMarkerLayer.findMarkers({
- containedInBufferRange: range,
+ startBufferPosition: range.start,
+ endBufferPosition: range.end
})[0];
}
}

Go back to exact range match for .findMarker()