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
Skyler Hawthorne 56a9ce5d83
fix(auto_pairs): fix auto pairs with crlf (#1470)
Auto pairs were resulting in incorrect ranges in the resulting when the
line terminators are CRLF (i.e. Windows). It turns out this is because
when we were checking if the selection was a single-width cursor, it
incorrectly assumed that this would be a single char. This is not the
case, as a cursor can cover a multi-code point grapheme. Therefore,
we must instead explicitly work with and check graphemes to determine
if the cursor should move or extend the selection.

Fixes #1436
3 years ago
..
increment Update to rust 1.58, fix a bunch of optional lints 3 years ago
auto_pairs.rs fix(auto_pairs): fix auto pairs with crlf (#1470) 3 years ago
chars.rs Document more of helix-core (#904) 3 years ago
comment.rs Specify capacity on toggle_line_comments 3 years ago
diagnostic.rs feat(lsp): configurable diagnostic severity (#1325) 3 years ago
diff.rs remove outdated note (#1485) 3 years ago
graphemes.rs Add hyperlinks to fix `cargo doc` warn (#931) 3 years ago
history.rs Add movement shortcut for history (#1088) 3 years ago
indent.rs Add llvm-mir highlighting (#1398) 3 years ago
lib.rs Detect workspace root using language markers (#1370) 3 years ago
line_ending.rs Mark a few functions as `const` 3 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 Apply recent nightly suggestions (#1286) 3 years ago
object.rs expand_selection to current node with no children (#1454) 3 years ago
path.rs fix: Expand tilde first, then deal with relative paths 3 years ago
position.rs Ensure coords in screen depends on char width (#885) 3 years ago
register.rs Implement black hole register (#1165) 3 years ago
search.rs Switch to a cleaner range-head moving abstraction. 3 years ago
selection.rs feat(commands): shrink_selection (#1340) 3 years ago
shellwords.rs Open files with spaces in filename, allow opening multiple files (#1231) 3 years ago
state.rs Reduce State use a bit further 3 years ago
surround.rs Fix surround cursor position calculation (#1183) 3 years ago
syntax.rs Use the correct language ID for JavaScript & TypeScript (#1466) 3 years ago
textobject.rs Fix surround cursor position calculation (#1183) 3 years ago
transaction.rs Add auto pairs for same-char pairs (#1219) 3 years ago