Bug in Gtk+2 gtk_text_buffer_insert() of a '\n' following an existing '\r'?

2017-08-01 Thread David C. Rankin
All, I think I've found a bug in Gtk+2 gtk_text_buffer_insert() of a '\n' following an existing '\r' in a GTK_TEXT_BUFFER (to convert end-of-line from `CR` (Max pre-OSX) to `CRLF`. When I locate the existing '\r' end-of-line with gtk_text_iter_forward_to_line_end() and

Re: Gtk+2 Clipboard - handling EOL better on paste or copy/cut?

2017-08-01 Thread David C. Rankin
On 07/31/2017 02:05 AM, David C. Rankin wrote: > Does this approach sound reasonable, or like one I'll spend 1/2 day coming > to regret? It was... something to regret (but was solved without regret...) I decided to write the conversion routine first -- it answered the question. You don't