| Top |
void ianjuta_editor_line_mode_convert (IAnjutaEditorLineMode *obj,IAnjutaEditorLineModeType mode,GError **err);
Set the line ending mode to the given mode
and convert all line end
characters in the buffer to mode
line end characters.
void ianjuta_editor_line_mode_fix (IAnjutaEditorLineMode *obj,GError **err);
Convert EOL characters to majority of line mode. This is helpful when the buffer contains mixed line modes and we want to fix it.
IAnjutaEditorLineModeType ianjuta_editor_line_mode_get (IAnjutaEditorLineMode *obj,GError **err);
Get current line ending mode. It is auto-detected from the buffer contents.
void ianjuta_editor_line_mode_set (IAnjutaEditorLineMode *obj,IAnjutaEditorLineModeType mode,GError **err);
Set the line ending mode to the given mode
. Existing line end
characters in the buffer are not touched. Only the newly added
texts will have mode
line end characters.