[Lazarus] Copy to clipboard from synedit

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 15 11:18:14 CEST 2018


On Sun, 15 Jul 2018 10:36:06 +0200 (CEST)
Michael Van Canneyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Hi,
> 
> If you copy text to the clipboard in synedit, an extra #0 character is
> copied at the end. It does not happen for other controls I tested.
> 
> I tested on Linux, 64-bit GTK2, but I suppose it will be the same for other
> platforms/widgetsets.
> 
> This can be seen easily: copy some source text in the IDE. Paste it in
> libreoffice writer. You'll get a # character at the end.
> 
> Some programs handle it well (xclip), some do not. 
> I've also had problems copying text e.g. to a browser.
> 
> I tested on Linux, 64-bit GTK2, but I suppose it will be the same for other
> platforms/widgetsets.

A regression probably caused by this:
https://bugs.freepascal.org/view.php?id=21453

Mattias


More information about the Lazarus mailing list