[PATCH] Add gimp-text-layer-set-markup pdb function
Submitted by Ian Munsie
Link to original bug (#724101)
Description
Currently the GIMP provides a pdb function to get the markup of a text layer, but has no corresponding function to set the markup from a script - only the plain text can be set, losing all formatting.
The attached patch provides such a function, including adding the root <markup>
node if required, and running the markup text through pango_parse_markup() to check for errors before actually setting it on the text layer.
Version: git master