EditableTextDocument.CreatePreservingLineEndings method
A document that keeps each line’s own terminator, so a file read into it round-trips unchanged. Every other document rewrites terminators to a line feed.
public static EditableTextDocument CreatePreservingLineEndings(string? text = null)See Also
Section titled “See Also”- class EditableTextDocument
- namespace Aprillz.MewUI.Text.Editing