You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-view
Michael Davis 247ab25bc0
prefer Document::set_selection to inserting selections directly (#2411)
Inserting these with the `HashMap::insert` method evades the call
to `Selection::ensure_invariants`. The effect is that the scratch
buffer (or other buffers opened through these code-paths) can start
with a selection at (0, 0), when a file with equivalent contents ("\n")
would start with (0, 1).

I.e.:

    hx

and

    touch f
    hx f

start with different selections even though they have an equivalent
Rope. With this change they both start with (0, 1).
3 years ago
..
src prefer Document::set_selection to inserting selections directly (#2411) 3 years ago
tests/encoding Move helix-view/tests/*txt files to txts subdirectory (#372) 3 years ago
Cargo.toml Split off dap event handlers into helix-view to allow reuse 3 years ago