Re: Paste as HTML

2006-10-21 Thread Mathias Michaelis
from here >> into the clipboard and paste it into a word processing program. > > 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. > The windows clipboard can c

Re: Paste as HTML

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

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
; into the clipboard and paste it into a word processing program. 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. -- >From "know your smileys": :} You lie like Pinocc

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

Paste as HTML

2006-10-20 Thread Igor Dvorkin
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 able to yank as HTML.