bQuoting Max Usachev <maxusac...@gmail.com>:

Hello!

I have a problem with long line in gtk.TextView.
For example, if wrapping is set to gtk.WRAP_WORD and line is very long and
contains 4 spaces at the start for example, then other wrapped lines
started with position 0, not with 4 as the first line.

Actual result:
"    The long long long"
"long long long line.."

Expected result"
"    The long long long"
"    long long long .... "

Is it possible to control the behaviour of wrapped lines?


The usual way to do this would be to reset the left margin with
the tag left_margin=NN where nn is the width in pixels.

Will



_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to