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

Update Visible Set When Invalidated #192

Closed thecoolwinter closed 1 year ago

thecoolwinter commented 1 year ago

Description

Adds a method to update the visible set and adds a call to that method when invalidating the entire document to ensure any newly visible text is correctly re-highlighted.

Related Issues

Checklist

Screenshots

https://github.com/CodeEditApp/CodeEditTextView/assets/35942988/05347932-ed0b-4a72-ace4-551300e5e7aa