Skip to main content

detect_line_ending

Function detect_line_ending 

Source
pub fn detect_line_ending(text: &str) -> Option<LineEndingStyle>
Expand description

Detect the predominant line ending in text.