GtkTextBuffer stripping carriage returns?
- From: kcirtap lavabit com
- To: gtk-list gnome org
- Subject: GtkTextBuffer stripping carriage returns?
- Date: Thu, 15 Nov 2012 14:13:05 -0500 (EST)
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]