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.
56a9ce5d83
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 | 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 |