-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/2010 16:24, James Simmons wrote:
> Dieter,
> 
> I tried replacing all my Python and PyGTK files with older versions
> and that didn't help.  What's odd is that I CAN split a line into two
> lines with the Enter key; I just can't create a blank line.

Oh! But I misunderstood your problem then :S

> It is a great help to know that my program seems to work on Windows
> for other people, so I thank everyone who tried it.

Well, it does not... I see the same problem here, I cannot create blank
lines. Or said in another way, multiple newline characters render as a
single newline character. The strange thing is that the saved textfile
*does* contain the exact amount of newline characters you would
expect...

So, I did some further debugging and found that the modify_font call
is the culprit. Put line 151 [self.textview.modify_font(self.font_desc)]
in a comment and try again. All of the sudden, multiple newline
characters are actually rendered as blank lines :)

mvg,
Dieter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0El0oACgkQcdTd5T8YjL5s2ACfVByFyeICCxhdpRdb9wWaDc1O
ykMAniFvMiw9pgbMtTWBABo/kacfnlXn
=wfQr
-----END PGP SIGNATURE-----
_______________________________________________
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