Skip to content

Commit

Permalink
Merge branch 'main' into feature/stringsyntaxhighlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed Mar 17, 2024
2 parents d10471e + 78983bc commit 5cc4d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Runestone/TextView/Core/TextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ open class TextView: UIScrollView {
}
}
set {
textInputView.selectedRange = newValue
textInputView.selectedTextRange = IndexedRange(newValue)
}
}
/// The current selection range of the text view as a UITextRange.
Expand Down

0 comments on commit 5cc4d96

Please sign in to comment.