On Fri, Jan 30, 2015 at 11:17 AM, Edward K. Ream <edream...@gmail.com> wrote:
> On Wed, Jan 28, 2015 at 3:39 PM, <karho...@gmail.com> wrote: > > > >>> Does the solution that you suggest require raw HTML code? >>> >>> Yes. I just did an experiment, and you must cut/paste real html. >>> >> >> That's very cumbersome. >> > > Sorry, but the html contains essential information that is not present > when you simply copy and paste text from the browser. There is no way that > Leo, or any other program, can magically recover the missing data. > Well, perhaps not all of the HTML code will be preserved when you copy something from a webpage by simple selection, like you say, but this is no problem at all. What is needed is preserving at least the basic formatting, like font size and possibly color. By the way, I tried copying and pasting from a webpage into a Gtk-based environment (the Cherrytree PIM), and a lot of the copied content is preserved. Even tables! Now, why can't Leo do that? > Happily, "casual" users don't have html debugging tools installed, so they > can get the full html by using the "show source" menu item in the browser. > This shouldn't be too odious. > I know that, and it was precisely Ctrl+U (show source) that I had in mind when I mentioned reading the source. But come on, do you mean to tell me that if I wanted to copy some text from a webpage, I should view the source, find the relevant part in the HTML code, and copy it to the clipboard?!? Even if it is not technically difficult, it is very cumbersome. Too much for anyone, I believe, especially if you have to deal with a lot of texts. Some PIM programs even offer a send-to option integrated right into the system shell, or into the browser's right-click menu, so that a selected text can be directly sent to the program and stored there, without any fuss at all. And Leo does not even provide decent support for HTML text pasted manually from the clipboard?!? If Leo is to be taken seriously as a PIM tool (and as I understand it, being a PIM tool is one of its main purposes), it really needs a better support of the formatted text. Sure, Leo started as a programming tool, supporting only plain text, but we are no longer living in a plain-text era. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.