GtkTextBuffer stripping carriage returns?

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

 



I've got a GtkTextBuffer, and I'm pasting some text that contains a
carriage return in it (e.g., \r\n). I know for sure that there's an \r\n
in it because when I copy the text from the buffer into a hex editor, it
shows the \r\n is there.

However when I get the text from the buffer (gtk_text_buffer_get_text),
the \r isn't there... just the \n.

Any idea why this might be?


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://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