helix/helix-view
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
..
src Fix `try_restore_indent` on non-LF documents 2025-05-24 11:42:29 -04:00
tests/encoding Re-vendor encoding_rs test data 2024-11-13 15:30:17 +09:00
Cargo.toml minor: Use a workspace dependency for parking_lot 2025-03-13 12:34:40 -04:00