Loading ...
Sorry, an error occurred while loading the content.

RE: Little problems going from 5.7a to 6.0w.

Expand Messages
  • Bram Moolenaar
    ... Hmm, this sounds quite advanced. Is there a limited list of these tags? Or could any application invent one? If this isn t much code, and a patch is made
    Message 1 of 6 , Mar 1, 2001
    • 0 Attachment
      Ron Aaron wrote:

      > If I may suggest, something which I think is needed in the Windows version:
      >
      > In Windows, the system clipboard has tags specifying the type of data on it.
      > For example, plain text, rtf, HTML...
      >
      > We should have a mechanism for dealing with this properly. For example,
      > when yanking to the sys clipboard, we should put the text on both in plain
      > text, and HTML if it's an HTML page. When pasting from it, and we see there
      > are formats we know about, we should [optionally] ask the user what formats
      > to paste. This could also be an option, e.g.:
      >
      > clipboardformats=html,text,rtf
      >
      > Perhaps then, you could have a menu item which did:
      >
      > confirm paste *
      >
      > which would give a list of formats we can paste. Otherwise, we could use
      > the first format in 'clipboardformats' which exists on the clipboard [ and
      > is compatible with the file type? ]
      >
      > This will let us play more nicely with other apps, for example, IE which has
      > problems with non-HTML clip formats.

      Hmm, this sounds quite advanced. Is there a limited list of these tags? Or
      could any application invent one?

      If this isn't much code, and a patch is made that works well, perhaps I'll
      include it.

      --
      On the other hand, you have different fingers.
      -- Steven Wright

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.