<div dir="ltr">Hi Levente,<div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 25, 2014 at 12:04 PM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu" target="_blank">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi All,<br>
<br>
I found that it&#39;s impossile to copy text from one image to another without losing all CR characters.<br>
If you open two images, and evaluate [Clipboard default primitiveClipboardText: #[13].] in one of them, then evaluate [Clipboard default primitiveClipboardText asByteArray.] in the other, you&#39;ll get #[] - an empty ByteArray. So CRs are lost. The same thing happens with longer strings too.<br>
Using the same method, I found that LFs and CRLFs are converted to CRs.<br>
I found this issue on Ubuntu 14.04 with Cog 3018 and 3104. I haven&#39;t tried any other VMs or OSes.</blockquote><div><br></div><div>I can&#39;t reproduce this.  I just copied some text in one image on linux (running a very recent Spur VM, which has the same platform subsystem as the Cog VM) and in another image evaluated</div><div><br></div><div>    Clipboard default clipboardText occurrencesOf: Character cr</div><div><br></div><div>which answered</div><div><br></div><div>    14</div><div><br></div><div>Is there some magic X11 setting that could account for your issue?</div></div>-- <br>best,<div>Eliot</div>
</div></div>