CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
504 stars 74 forks source link

[chore]: Update STTextView to `0.5.3` #178

Closed thecoolwinter closed 1 year ago

thecoolwinter commented 1 year ago

Description

Updates STTextView to 0.5.3, accounting for a couple API changes & depreciations.

Known issues:

Also includes a tiny fix for a runtime error when publishing cursor position, and a fix for a rare crash to do with string indexes. (STTextViewController+Cursor.swift).

Related Issues

N/A

Checklist

Screenshots

Copy-paste attributed text

https://user-images.githubusercontent.com/35942988/234060270-82170964-c1b1-4dbf-bea2-3d6108857b3f.mov

Multiple cursors (control-shift click)

https://user-images.githubusercontent.com/35942988/234060289-f564f8be-ae57-482d-9037-9fd144591a1c.mov