y-ack / e

2 stars 1 forks source link

syntax highlighting breaking on content delete #12

Closed ilovecherries closed 3 years ago

ilovecherries commented 3 years ago

when deleting content in the demo, you can visibly see that the tree is parsing at an incorrect offset

image

need to look at https://github.com/y-ack/e/blob/54ae6ada077a0225b732dfdb3615225c1df893dd/src/buffer.rs#L171 probably