Module text

Source

Structs§

DisplayCommaSeparated
Newline
Represents a newline location and style

Enums§

LineEnding
The style of line endings used in a file

Functions§

canonicalize_horizontal_whitespace
find_next_crlf_or_eof
find_next_lf_or_eof
find_prev_crlf_or_eof
find_prev_lf_or_eof
is_char_boundary
Returns true if offset in the underlying buffer falls on a valid UTF-8 codepoint boundary.