The end user copies colored formatted text, and when they paste the formatting is preserved. The end user is not aware that HTML was involved in the operation.
A confusing point is clients of the HTML clipboard format (CF_HTML) consider this type to be text+formatting for display, not a transport for HTML. If you want to pass an HTML snippet between applications, you'd use CF_TEXT. As per peoples suggestion I'm looking at a a solution that does: ToHTML() w! !copy_to_clipboard_as_html % q Finally, Is the policy if you find functions in tree with mixed tab space usage to ignore it? On 10/21/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Why don't these programs offer the option "paste as HTML"? I mean, the user must have a choice if he wants the HTML as text or the resulting markup.