Top | ![]() |
![]() |
![]() |
![]() |
IdeFixit * | ide_fixit_new () |
IdeFixit * | ide_fixit_new_from_variant () |
IdeFixit * | ide_fixit_ref () |
void | ide_fixit_unref () |
void | ide_fixit_apply () |
const gchar * | ide_fixit_get_text () |
IdeSourceRange * | ide_fixit_get_range () |
GVariant * | ide_fixit_to_variant () |
IdeFixit * ide_fixit_new (IdeSourceRange *source_range
,const gchar *replacement_text
);
IdeFixit *
ide_fixit_new_from_variant (GVariant *variant
);
Creates a new IdeFixit from the variant.
If variant
is NULL
, NULL
is returned.
Since: 3.30
const gchar *
ide_fixit_get_text (IdeFixit *self
);
Gets the text to replace the source range with.
IdeSourceRange *
ide_fixit_get_range (IdeFixit *self
);
Gets the range for the replacement text. The range is non inclusive of the end location. [a,b)