Re: Paste as HTML

2006-10-21 Thread Mathias Michaelis
>>> What is the added value of marking >>> it as HTML on the clipboard? >>> >> The added value is that you are able to paste the text into a word >> processing program like AbiWord, MS Word or StarWriter in a way that >> the HTML-Tags are not shown, but are interpreted by the word >> processing pr

Re: Paste as HTML

2006-10-21 Thread Igor Dvorkin
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 transpor

Re: Paste as HTML

2006-10-21 Thread Mathias Michaelis
Hello Tony >> To achieve this know, I only see one way: Convert your text to HTML, >> then save it as HTML, open it with a web browser, copy it from here >> into the clipboard and paste it into a word processing program. >> > What about opening the HTML file directly as RTF in a word processor? >

Re: Paste as HTML

2006-10-21 Thread Bram Moolenaar
Mathias Michaelis wrote: > > What is the added value of marking > > it as HTML on the clipboard? > > > The added value is that you are able to paste the text into a word > processing program like AbiWord, MS Word or StarWriter in a way that > the HTML-Tags are not shown, but are interpreted by t

Re: Paste as HTML

2006-10-21 Thread A.J.Mechelynck
Mathias Michaelis wrote: Hello * What is the added value of marking it as HTML on the clipboard? The added value is that you are able to paste the text into a word processing program like AbiWord, MS Word or StarWriter in a way that the HTML-Tags are not shown, but are interpreted by the word

Re: Paste as HTML

2006-10-21 Thread Mathias Michaelis
Hello * > What is the added value of marking > it as HTML on the clipboard? > The added value is that you are able to paste the text into a word processing program like AbiWord, MS Word or StarWriter in a way that the HTML-Tags are not shown, but are interpreted by the word processing program in

Re: Paste as HTML

2006-10-21 Thread Bram Moolenaar
Igor Dvorkin wrote: > Many windows apps support a clipboard pasting format of HTML. This is > how you can copy code in Visual Studio 2005 and paste it into outlook > and see syntax highlighting. > > I recommend something similar be done for VIM. Today, we have toHTML, > that's reasonable, but id

Re: Paste as HTML

2006-10-21 Thread Edward L. Fox
On 10/21/06, Ilya Bobir <[EMAIL PROTECTED]> wrote: Edward L. Fox wrote: > In my opinion, this kind of work shouldn't be done by hacking the > source code of VIM. You can use a vim script to call the synax > highlighting engine to convert the text into HTML code, and copy the > converted code into

Re: Paste as HTML

2006-10-21 Thread Ilya Bobir
Edward L. Fox wrote: In my opinion, this kind of work shouldn't be done by hacking the source code of VIM. You can use a vim script to call the synax highlighting engine to convert the text into HTML code, and copy the converted code into the clipboard with a DLL add-on (as we know, GVim supports

Re: Paste as HTML

2006-10-20 Thread Edward L. Fox
On 10/21/06, Igor Dvorkin <[EMAIL PROTECTED]> wrote: Many windows apps support a clipboard pasting format of HTML. This is how you can copy code in Visual Studio 2005 and paste it into outlook and see syntax highlighting. I recommend something similar be done for VIM. Today, we have toHTML, that

Re: Paste as HTML

2006-10-20 Thread A.J.Mechelynck
Igor Dvorkin wrote: Many windows apps support a clipboard pasting format of HTML. This is how you can copy code in Visual Studio 2005 and paste it into outlook and see syntax highlighting. I recommend something similar be done for VIM. Today, we have toHTML, that's reasonable, but ideally we'd a