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.
58ea193054
The current test DSL currently has no way to express being at the end of a line, save for putting an explicit LF or CRLF inside the `#[|]#`. The problem with this approach is that it can add unintended extra new lines if used in conjunction with raw strings, which insert newlines for you. This is a simple attempt to mitigate this problem. If there is an explicit newline character at the end of the selection, and then it is immediately followed by the same newline character at the right end of the selection, this following newline is removed. This way, one can express a cursor at the end of a line explicitly. |
2 years ago | |
---|---|---|
.. | ||
doc_formatter | 2 years ago | |
increment | 2 years ago | |
auto_pairs.rs | 2 years ago | |
chars.rs | 3 years ago | |
comment.rs | 2 years ago | |
config.rs | 3 years ago | |
diagnostic.rs | 2 years ago | |
diff.rs | 2 years ago | |
doc_formatter.rs | 2 years ago | |
graphemes.rs | 2 years ago | |
history.rs | 2 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 | |
surround.rs | 2 years ago | |
syntax.rs | 2 years ago | |
test.rs | 2 years ago | |
text_annotations.rs | 2 years ago | |
textobject.rs | 2 years ago | |
transaction.rs | 2 years ago | |
wrap.rs | 2 years ago |