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.
274f2ea459
This changes the behavior of operations like `]f`/`[f` to set the direction of the new range to the direction of the action. The original behavior was to always use the head of the next function. This is inconsistent with the behavior of goto_next_paragraph and makes it impossible to create extend variants of the textobject motions. This causes a behavior change when there are nested functions. The behavior in the parent commit is that repeated uses of `]f` will select every function in the file even if nested. With this commit, functions are skipped. It's notable that it's possible to emulate the original behavior by using the `ensure_selections_forward` (A-:) command between invocations of `]f`. |
2 years ago | |
---|---|---|
.. | ||
increment | 2 years ago | |
auto_pairs.rs | 2 years ago | |
chars.rs | 3 years ago | |
comment.rs | 3 years ago | |
config.rs | 3 years ago | |
diagnostic.rs | 2 years ago | |
diff.rs | 3 years ago | |
graphemes.rs | 3 years ago | |
history.rs | 3 years ago | |
indent.rs | 2 years ago | |
lib.rs | 2 years ago | |
line_ending.rs | 2 years ago | |
macros.rs | 4 years ago | |
match_brackets.rs | 3 years ago | |
movement.rs | 2 years ago | |
object.rs | 2 years ago | |
path.rs | 2 years ago | |
position.rs | 2 years ago | |
register.rs | 2 years ago | |
search.rs | 3 years ago | |
selection.rs | 2 years ago | |
shellwords.rs | 2 years ago | |
state.rs | 3 years ago | |
surround.rs | 3 years ago | |
syntax.rs | 2 years ago | |
test.rs | 3 years ago | |
textobject.rs | 2 years ago | |
transaction.rs | 3 years ago | |
wrap.rs | 3 years ago |