Commit Graph

9 Commits (1a87cbd5082f410aee362a274edcc817bfb9f34a)

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 3 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 4 years ago
Blaž Hrastnik 240e5f4e3d Initial import. 5 years ago