You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result +=sourceLine[sourceLine.startIndex..<highlightRange.lowerBound]
504
-
result += ansiAnnotation.applied(to:String(sourceLine[highlightRange]))
505
-
result +=sourceLine[highlightRange.upperBound..<sourceLine.endIndex]
490
+
lethighlightStart= range.lowerBound.column -1
491
+
lethighlightEnd= range.upperBound.column -1
506
492
507
-
return result
493
+
assert(highlightStart <= sourceLineUTF8.count,{
494
+
"""
495
+
Received diagnostic with incorrect source range; (\(range.lowerBound.column) ..< \(range.upperBound.column)) extends beyond the text on line \(lineNumber) (\(sourceLineUTF8.count) characters)
0 commit comments