[Lazarus] Synedit requesting strange format from clipboard

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 26 10:14:58 CET 2010


On Fri, 26 Feb 2010 08:41:45 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> Hi,
> 
> It was reported in the MSEide mailing list that copying text from MSEide
> and trying to paste it into Lazarus Source Editor (synedit) doesn't work.
> Martin had a look at the issue and found the following.
> 
> Could anybody explain the strange text format requested by SynEdit?
> 
> ------------------------------------
> MSEide offers "UTF8_STRING", "COMPOUND_TEXT", "STRING" and "TEXT" (trunk
> 3560 has additionally "text/plain"), surprisingly Lazarus
> requests "Application/X-Laz-SynEdit-Tagged" which MSEgui can't provide.

Same for any non synedit control and any non lcl program and copying
works.


> Copying from MSEide into Lazarus edit widgets works. Can you check why
> Lazarus requests "Application/X-Laz-SynEdit-Tagged" in source editor?

It prefers that format because it supports selection mode.
Apps are not bound to serve the request.
If this fails then synedit asks for the text.
I don't know why msegui does not work.

I added a check. Maybe this helps.

Mattias




More information about the Lazarus mailing list