             let index = indexInSortedCollection(lines) { line in
                 if byteOffset < line.byteRange.location {
                     return .orderedAscending
-                }
-                else if byteOffset >= line.byteRange.location + line.byteRange.length {
+                } else if byteOffset >= line.byteRange.location + line.byteRange.length {
                     return .orderedDescending
                 }
                 return .orderedSame

            let index = indexInSortedCollection(lines) { line in
                if offset < line.range.location {
                    return .orderedAscending
                }
                else if offset >= line.range.location + line.range.length {
                    return .orderedDescending
                }
                return .orderedSame

            let index = indexInSortedCollection(lines) { line in
                if location < line.range.location {
                    return .orderedAscending
                } else if location >= line.range.location + line.range.length {
                    return .orderedDescending
                }
                return .orderedSame
