[pygtk] Question about TextTag wrap-mode property

Fredrik Corneliusson fredrik.corneliusson at gmail.com
Fri Mar 23 00:40:06 WST 2007


I'm trying to have protected xml-tags in the paragraphs and I don't
want the tags to wrap. This is to ease editing content that is bidi.
Having them in separate paragraphs is not an option.

thanks,
Fredrik

On 3/22/07, John Ehresman <jpe at wingware.com> wrote:
> Fredrik Corneliusson wrote:
> > I'm not able to figure out why gtk.TextTags wrap-mode is only
> > respected if it is set at the beginning of a paragraph. What I'm
> > trying to achieve is to have some parts of a paragraph text have other
> > wrapping then the rest.
>
> Why not use multiple paragraphs?  I wouldn't be surprised if each
> paragraph can only have one wrap mode, though I haven't looked to see if
> is the case.
>
> Cheers,
>
> John
>


More information about the pygtk mailing list