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
Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range
The termination point is Drawing.swift:198, when accessing origins[lineIndex].x: runBounds.origin.x = origins[lineIndex].x + rect.origin.x + xOffset - fillPadding.left - rect.origin.x
I have verified that the NSRange I provide in the addAttribute call is valid, as I can use the nantesLabelStrikeOut attribute and it works fine.
The text was updated successfully, but these errors were encountered:
When I attempt to set a background fill or stroke, like so:
string.addAttribute(.nantesLabelBackgroundFillColor, value: UIColor.lightGray, range: range)
App crashes with:
Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range
The termination point is Drawing.swift:198, when accessing origins[lineIndex].x:
runBounds.origin.x = origins[lineIndex].x + rect.origin.x + xOffset - fillPadding.left - rect.origin.x
I have verified that the NSRange I provide in the addAttribute call is valid, as I can use the nantesLabelStrikeOut attribute and it works fine.
The text was updated successfully, but these errors were encountered: