Commit Graph

9 Commits (bf7c4e165946f7a5be48c9d7e8abb8e68f066882)

Author SHA1 Message Date
n0s4 4f21f430e4 Remove vale from .gitignore 2 years ago
n0s4 5accb5cd58 Add vale to gitignore + spelling 2 years ago
Skyler Hawthorne 0f3c10a021 Fix initial selection of Document in new view
When a new View of a Document is created, a default cursor of 0, 0 is
created, and it does not get normalized to a single width cursor until
at least one movement of the cursor happens. This appears to have no
practical negative effect that I could find, but it makes tests difficult
to work with, since the initial selection is not what you expect it to be.

This changes the initial selection of a new View to be the width of the
first grapheme in the text.
2 years ago
Blaž Hrastnik dd2903ff10 Dynamically load grammar libraries at runtime 3 years ago
Timothy DeHerrera 8590f6a912 ignore Nix outputs 4 years ago
Blaž Hrastnik f1539cc866 Add a nix flake with the development environment. 4 years ago
Blaž Hrastnik 088f8a82af Incremental parsing: rough draft. 4 years ago
Jan Hrastnik 065cbcee9e fixed async loop 5 years ago
Blaž Hrastnik 240e5f4e3d Initial import. 5 years ago