sync_to_file


Description:

public async void sync_to_file () throws Error

Sync buffer contents to file on disk.

Not supported for DummyFileBuffer - this method is only for GTK SourceView buffers where the buffer contents may have been modified via GTK operations.

For DummyFileBuffer, use write() instead to update buffer and write to file.

Exceptions:

Error

Always throws IOError.NOT_SUPPORTED