PangoMarkup should support paragraph control
Submitted by Dov Grobgeld
Currently PangoMarkup supports changing fonts and colors, but there is no support for paragraph layout control, even though PangoLayout supports multiple lines and paragraphs. I believe the following controls should be added:
<p align="LEFT|CENTER|RIGHT">`</p>` Set paragraph alignment `<p prespace=999>``</p>` Set paragraph prespace <p postspace=999`</p>` Set paragraph postspace `<p linespace=999>``<p>` Additional inter line space. `<p handindent=999>``</p>` Set first line indent
Possibly span could be used instead of p and the last span parameter set in the paragraph will be used for the entire paragraph.
Once this is in place the GtkTextViewer should be enhanced with two methods for importing and exporting a PangoMarkup string. But that is probably another enhancement request.