Fork of dvui, the immediate-mode Zig GUI, with a font face index for Pipit

tree-sitter: only query in the visible region

This uses the cache_layout information to only run the tree-sitter queries on the visible region, which makes it fast for large documents. No editing support yet. Also fix a bug with cache_layout where you click at the start, scroll far away, and click again. That used to process all the text between the old cursor location and the new one.


Author David Vanderson Date Commit Parent a1eb3c03
+46 -38
3 changed files
+46 -38
3 changed files