[Lazarus] Copy to clipboard from synedit
Michael Van Canneyt
michael at freepascal.org
Sun Jul 15 12:07:28 CEST 2018
On Sun, 15 Jul 2018, Mattias Gaertner via Lazarus wrote:
> 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
It seems a fix is available but needs to be enabled using a define ?
Michael.
More information about the Lazarus
mailing list