create_newline_filter


Description:

public Filter create_newline_filter (bool ensure_newline)

Creates a Filter suitable for converting line-endings to the currently set new-line format.

Parameters:

this

a FormatOptions or null

ensure_newline

true if the output must *always* end with a new line

Returns:

a Filter to convert to the specified new-line format.