AccessKit / accesskit

Accessibility infrastructure for UI toolkits
https://accesskit.dev
BSD 3-Clause "New" or "Revised" License
1.05k stars 53 forks source link

fix: Avoid unnecessary repeated checks for text changes #432

Closed mwcampbell closed 3 months ago

mwcampbell commented 3 months ago

This is necessary if a large number of nodes have changed in a large document, but the text itself hasn't changed. That currently happens when scrolling GtkTextView, and while I could probably optimize that specific case somehow, this optimization is easier and, as far as I can tell, doesn't break anything.