Use containedInBufferRange for marker query
MODIFY
lib/buffer-search.js
lib/buffer-search.js
@@ -267,8 +267,7 @@ class BufferSearch {
findMarker(range) {
if (this.resultsMarkerLayer) {
return this.resultsMarkerLayer.findMarkers({
- startPosition: range.start,
- endPosition: range.end
+ containedInBufferRange: range,
})[0];
}
}

Use containedInBufferRange for marker query