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-core/src
greg-enbala 60f84be40c
Separate jump behavior from increment/decrement (#4123)
increment/decrement (C-a/C-x) had some buggy behavior where selections
could be offset incorrectly or the editor could panic with some edits
that changed the number of characters in a number or date. These stemmed
from the automatic jumping behavior which attempted to find the next
date or integer to increment. The jumping behavior also complicated the
code quite a bit and made the behavior somewhat difficult to predict
when using many cursors.

This change removes the automatic jumping behavior and only increments
or decrements when the full text in a range of a selection is a number
or date. This simplifies the code and fixes the panics and buggy
behaviors from changing the number of characters.
2 years ago
..
increment Separate jump behavior from increment/decrement (#4123) 2 years ago
auto_pairs.rs Fix erroneous indent between closers of auto-pairs (#5330) 2 years ago
chars.rs Temporarily turn on unicode-lines 3 years ago
comment.rs core: Move state into the history module 2 years ago
config.rs Add support for local language configuration (#1249) 3 years ago
diagnostic.rs feat(lsp): add support for lsp Diagnostic{}.data (#4935) 2 years ago
diff.rs delete outdated reference to cessen/ropey#25 (#4928) 2 years ago
graphemes.rs Improve Readability (#2639) 2 years ago
history.rs Fix transaction composition order in History::changes_since (#4981) 2 years ago
indent.rs Fix panic from indenting on tree with errors 2 years ago
lib.rs properly handle detachted git worktrees (#5097) 2 years ago
line_ending.rs Resolve a bunch of upcoming clippy lints 2 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fix match brackets comment (#1346) 3 years ago
movement.rs Use requested direction for new textobject selection range 2 years ago
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2 years ago
path.rs Add workspace and document diagnostics picker (#2013) 2 years ago
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2 years ago
register.rs Refactor blackhole register (#4504) 2 years ago
search.rs Jump to the next number on the line before incrementing (#1778) 3 years ago
selection.rs Add command to merge consecutive ranges in selection (#5047) 2 years ago
shellwords.rs Capture word parts while calculating shellwords (#4632) 2 years ago
surround.rs Resolve a bunch of upcoming clippy lints 2 years ago
syntax.rs allow specifying environment for language servers in language.toml (#4004) 2 years ago
test.rs Run clippy on workspace in CI (#4614) 2 years ago
textobject.rs Adjust `m` textobject description and minor code clarification (#3343) 2 years ago
transaction.rs Significantly improve performance of `:reload` (#4457) 2 years ago
wrap.rs add reflow command (#2128) 3 years ago