Re: Large strings in GtkTextView

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/07, Micah Carrick <email@xxxxxxxxxxxxxxxx> wrote:
>  Actually, that's interesting. I was going to write a test program, however,
> just when creating the test text file, it gets funky in gedit (when word
> wrapping is off). As soon as I insert the 4098th character, the line
> "disappears" and "reappears" again near the beginning of the line but kind
> of flakey.

Could it be hitting the maximum size of a pango layout object? Pango
keeps coordinates as fixed point 12.10 bits, so I imagine single
layouts larger than 4096 pixels would overflow. Though I can't see why
the 4098's character would do it. Just guessing.

John
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux