Property

IdeBuffer:newline-type

Declaration

property newline-type: GtkSource.NewlineType [ read, write ]

Description

Sets the style of newline to append to each line.

This sets the style of newlines to use within the file. Generally, only LF should be used (\n) as it is common on Unix, Linux, and most editors at this point.

Older Windows editors might prefer CR+LF (\r\n) which is similar to what is displayed in a raw terminal without a \n line discipline.

Really old Mac Classic systems use just a \r.

Flags

Readableyes
Writableyes
Constructno
Construct onlyno