private _getStartIndexOfIntersectingAnnotation(offset: number): number {
const startIndexWhereToReplace = binarySearch2(this._annotations.length, (index) => {
return this._annotations[index].range.start - offset;
let startIndex: number;
if (startIndexWhereToReplace >= 0) {
startIndex = startIndexWhereToReplace;
// Also include the next annotation if it ends exactly at offset (touching boundary)