Those tests should be done WITHOUT
GTK_REMOVE_CLIPBOARD_NULL
defined.

On 15/07/2018 12:27, Martin Frb via Lazarus wrote:
On 15/07/2018 12:07, Michael Van Canneyt via Lazarus wrote:


It seems a fix is available but needs to be enabled using a define ?

Please try with rev 58530

To be tested:

- Copy one word from synedit  to  synedit
- Copy one word from synedit  to  TEdit or TMemo
- Copy one word from synedit  to  libre office (or other external app)


All of the above with multiline / full line
All of the above in reverse
All of the above with "column mode selection"

Fold a begin/end (or any other) block in synedit.
Copy a selection containing the entire folded block.
Paste it in SynEdit => the pasted text should have the block folded (assuming you did not disable this in options)

=====================
The old patch had a problem:

It removed the #0 from any clipboard data. Including Text, images, custom.
But the LCL only added the extra to text (and only if added via "AsText")

So any data added any other way, if it had a #0 (that was part of the data) would be mangled.
SynEdit adds custom data (to preserve folds).



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to