Method
PlumaDocumentload
Declaration [src]
void
pluma_document_load (
PlumaDocument* doc,
const gchar* uri,
const PlumaEncoding* encoding,
gint line_pos,
gboolean create
)
Parameters
uri-
Type:
const gchar*The uri where to load the document from.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. encoding-
Type:
PlumaEncodingThe
PlumaEncodingto encode the document.The data is owned by the caller of the method. line_pos-
Type:
gintThe line to show.
create-
Type:
gbooleanWhether the document should be created if it doesn’t exist.