Special Paste

hh hh at hyperhh.de
Mon Oct 24 21:41:08 EDT 2016


@Bob.
After your answer I read Charles' question again. Probably he asks
for the other way: how to match the styled text of the 'paste-target'
*in LC*?

@Charles. If this is correct, then you could try to insert the
clipboardData["text"] or use menu Edit > Paste Unformatted.
This has no style and thus inherits the style of the current
paste-location (that may be also inherited).

If you use or need *Unicode* for pasting you could use a plain-text-key
of the rawClipboardData. This requires LC 8 or later and is dependent
of the current OS (see dictionary entry to rawClipboardData).






More information about the use-livecode mailing list