Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate Correct Edited Range (#279)
### Description In the highlight state, invalidates the correct range when performing an edit. Sometimes tree-sitter doesn't invalidate the ranges that were edited, so we need to add that edited range in. This ensures that a non-empty range is always invalidated. ### Related Issues - Related pr: #273 ### Checklist - [x] I read and understood the [contributing guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md) as well as the [code of conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md) - [x] The issues this PR addresses are related to each other - [x] My changes generate no new warnings - [x] My code builds and runs on my machine - [x] My changes are all related to the related issue above - [x] I documented my code ### Screenshots https://github.com/user-attachments/assets/9e4d9b35-1e2d-44b8-9c2e-ffbfde69c8e4 Previously: https://github.com/user-attachments/assets/4b572c31-0320-4f90-ac52-6f911713bc75
- Loading branch information