helix/helix-term/tests/test
Michael Davis 702a961517
Fix `try_restore_indent` on non-LF documents
On Windows for example the behavior of this function typically diverges
from the usual behavior on Unix. Instead of checking that the inserted
string starts with `'\n'` (untrue for for CRLF line endings) we need to
check that the first grapheme cluster in the string is a line ending.
(All line endings are single grapheme clusters.)
2025-05-24 11:42:29 -04:00
..
commands Fix `try_restore_indent` on non-LF documents 2025-05-24 11:42:29 -04:00
languages Trim all trailing whitespace on insert_newline 2024-12-05 20:53:53 +09:00
auto_indent.rs Factor out line ending handling in integration tests (#9921) 2024-03-31 07:12:17 -05:00
auto_pairs.rs Factor out line ending handling in integration tests (#9921) 2024-03-31 07:12:17 -05:00
command_line.rs Improve %% escaping error message (#13018) 2025-03-04 10:03:11 -06:00
commands.rs feat: highlight rust string interpolation macros that use `format_args!` (#13533) 2025-05-24 10:02:32 -05:00
helpers.rs feat: passing multile of the same files in the arguments places a cursor at each position (#12192) 2025-01-23 14:04:02 -06:00
movement.rs feat: highlight rust string interpolation macros that use `format_args!` (#13533) 2025-05-24 10:02:32 -05:00
splits.rs Use a temporary file for writes (#9236) 2024-03-31 17:43:09 -05:00