Function
IdeMarkedContentnew_plaintext
Description
Creates a new IdeMarkedContent
of type IDE_MARKED_KIND_PLAINTEXT
with the contents of string
.
Parameters
plaintext
-
Type:
const gchar*
A string containing the plaintext.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: IdeMarkedContent
An IdeMarkedContent
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |