Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed May 4, 2022
1 parent 386905e commit 2fc0410
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private extension LineTypesetter {
let range = NSRange(location: location, length: 1)
let attributedSubstring = attributedString.attributedSubstring(from: range)
let string = attributedSubstring.string.trimmingCharacters(in: .whitespaces)
return string.isEmpty ||CharacterSet(charactersIn: string).isSubset(of: .punctuationCharacters)
return string.isEmpty || CharacterSet(charactersIn: string).isSubset(of: .punctuationCharacters)
}

private func makeLineFragment(for range: CFRange, in typesetter: CTTypesetter, lineFragmentIndex: Int, yPosition: CGFloat) -> LineFragment {
Expand Down

0 comments on commit 2fc0410

Please sign in to comment.