mirror of https://github.com/helix-editor/helix
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.
2e02a1d6bc
* feat(commands): shrink_selection Add `shrink_selection` command that can be used to shrink previously expanded selection. To make `shrink_selection` work it was necessary to add selection history to the Document since we want to shrink the selection towards the syntax tree node that was initially selected. Selection history is cleared any time the user changes selection other way than by `expand_selection`. This ensures that we don't get some funky edge cases when user calls `shrink_selection`. Related: https://github.com/helix-editor/helix/discussions/1328 * Refactor shrink_selection, move history to view * Remove useless comment * Add default key mapping for extend&shrink selection * Rework contains_selection method * Shrink selection without expand selects first child |
3 years ago | |
---|---|---|
.. | ||
increment | 3 years ago | |
auto_pairs.rs | 3 years ago | |
chars.rs | 3 years ago | |
comment.rs | 3 years ago | |
diagnostic.rs | 3 years ago | |
diff.rs | 3 years ago | |
graphemes.rs | 3 years ago | |
history.rs | 3 years ago | |
indent.rs | 3 years ago | |
lib.rs | 3 years ago | |
line_ending.rs | 3 years ago | |
macros.rs | 4 years ago | |
match_brackets.rs | 3 years ago | |
movement.rs | 3 years ago | |
object.rs | 3 years ago | |
path.rs | 3 years ago | |
position.rs | 3 years ago | |
register.rs | 3 years ago | |
search.rs | 3 years ago | |
selection.rs | 3 years ago | |
shellwords.rs | 3 years ago | |
state.rs | 3 years ago | |
surround.rs | 3 years ago | |
syntax.rs | 3 years ago | |
textobject.rs | 3 years ago | |
transaction.rs | 3 years ago |