Ben Fritz wrote: > On Oct 23, 7:10 am, Bram Moolenaar <[email protected]> wrote: > > Andrei Avk wrote: > > > Hi, I asked about this (Disabling "drag text with html markup from > > > browsers") about a month ago and I finally got around to trying to find > > > a fix and was able to do this by recompiling Gvim with following lines > > > commented out: > > > > > static const GtkTargetEntry selection_targets[] = > > > /* {"text/html", 0, TARGET_HTML}, */ > > > > > static const GtkTargetEntry dnd_targets[] = > > > /* {"text/html", 0, TARGET_HTML}, */ > > > > > Hopefully if anyone else needs this they'll be able to find this > > > temporary fix. > > > > Have you tried removing "html" from the 'clipboard' option? > > > > > However, it seems like a completely pointless and annoying feature.. > > > possibly it would be better to disable html drops by default and have it > > > available as an option? > > > > This is a very useful feature if you are working on web pages. > > I have used it to copy syntax-highlighted code, the output from 2html, > > into a web page that is edited through a browser. > > > > Hold on...are you saying Vim automatically uses 2html on a selection > when dragging that selection to a browser?! > > If so, I did not know that!
No, after using 2html you can copy the result and paste it as HTML into some browser text window. Works for Google sites. -- I AM THANKFUL... ...for the mess to clean after a party because it means I have been surrounded by friends. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
