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 care

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

2017-07-31 Thread David C. Rankin
All, I have a simple editor project I've been tinkering with (https://github.com/drankinatty/gtkwrite) and I've implemented EOL handling for LF, CRLF, and CR to accommodate Linux/Unix/OSX, DOS/Win, and Mac (pre-OSX). I've run into a question on implementing the EOL in text pasted from the clipbo