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-plus/helix-term
Michael Davis 9c3c6a1c22
Fix off-by-one in extend_line_above (#3689)
`extend_line_above` (and `extend_line` when facing backwards) skip
a line when the current range does not fully cover a line.

Before this change:

    foo
    b#[|a]#r
    baz

With `extend_line_above` or `extend_line` selected the line above.

    #[|foo
    bar]#
    baz

Which is inconsistent with `extend_line_below`. This commit changes
the behavior to select the current line when it is not already
selected.

    foo
    #[|bar]#
    baz

Then further calls of `extend_line_above` extend the selection up
line-wise.
2 years ago
..
src Fix off-by-one in extend_line_above (#3689) 2 years ago
tests fix: Recalculate completion when going through prompt history (#3193) 2 years ago
.gitignore Initial import. 4 years ago
Cargo.toml Update to crossterm-0.25 (#3390) 2 years ago
build.rs feat: support grammar cross-compilation 2 years ago