Property
IdeBuffer:newline-type
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.
Type: | GtkSourceNewlineType |
Default value | GTK_SOURCE_NEWLINE_TYPE_LF |
Getter method | ide_buffer_get_newline_type() |
Setter method | ide_buffer_set_newline_type() |