simonbs / Runestone

📝 Performant plain text editor for iOS with syntax highlighting, line numbers, invisible characters and much more.
MIT License
2.62k stars 145 forks source link

Setting selectedRange updates caret position #364

Closed simonbs closed 4 months ago

simonbs commented 4 months ago

Setting selectedRange would not update the displayed caret position. This PR fixes the issue which is also described in #335.