[scribus] Settting style to a selection

Cédric Gémy radar.map35 at free.fr
Fri Sep 3 11:08:32 CEST 2010

I applying a char style is not possible i guess the Search/replace
dialog will do everything fine. But i'm trying with with paragraph
style, and i think i have trouble with the magic :)

thanks a_l_e

> for the first one:
> - get the string as a python variable
> - do some regexp magic on it to find out where the affected substrings are
> - record their positions
> - select each of the substrings ("scribus.selectText()")
> - apply the formatting

More information about the scribus mailing list