<http://forum.pspad.com/read.php?f=2&i=12471&t=12471> ----------------------------------------------------------------
Hi, This is a suggestion for a replacement/enhancement of the copy and export to clipboard feature : Is it possible to support the "HTML Format" clipboard format ? This format is *really* easy (from what I saw, you already did the hard job, HTML encoding) and would be very helpfull. The best would be : I press Ctrl+C and the text with color and formatting is copied into the clipboard as "HTML Format" clipboard format. Another idea is to enhance your "export to clipboard" options... (I prefer the first one) Then, I can open an email client like thunderbird, Outlook express, or an HTML Editor like Nvu or Frontpage, even express, and paste directly into the WYSIWYG editor the copied and color-formatted text. Wow, great ! (maybe Dreamweaver too, if not, I could help...) I coded this format for my job some years ago, (before thunderbird and Nvu exist), and it seems to be still supported, even by new apps. Here is a sample of the format (from NVU) : Version:0.9 StartHTML:00000097 EndHTML:00000223 StartFragment:00000111 EndFragment:00000187 <html><body> <!--StartFragment--> Text <span style="font-weight: bold;">Sample</span> <!--EndFragment--> </body> </html> Version : I've never seen any other version StartHTML : The index where the HTML code starts (from Version...) EndHTML : The index where the HTML ends (size of this clipboard buffer) StartFragment : index of the <!--StartFragment--> comment EndFragment : index of the <!--EndFragment--> comment This is the tool I use to spy the clipboard : http://www.geocities.com/SiliconValley/2060/clipspy.html If you are interested and need any help, do not hesitate to ask. Thanks in advance Remio -- PSPad freeware editor http://www.pspad.com
