helix-mods/helix-loader/src
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.
2022-06-18 23:54:03 -04:00
..
config.rs Only merge top-level array when merging languages.toml (#2215) 2022-04-23 17:10:34 +09:00
grammar.rs Ignore SendErrors when handling grammars (#2641) 2022-06-02 16:54:11 +09:00
lib.rs Fix initial selection of Document in new view 2022-06-18 23:54:03 -04:00
main.rs Use a minimal binary to fetch grammar sources in release CI (#2557) 2022-06-05 19:53:20 +09:00