I hear ya....
I'm getting a selection from Firefox of the text from my original post:
![](https://groups.google.com/group/abstractspoon-todolist-support/attach/1d54cb4b0b724/Auto%20Generated%20Inline%20Image%201?part=0.1)
Now I'm using ctrl-V to paste into a Comment:
![](https://groups.google.com/group/abstractspoon-todolist-support/attach/1d54cb4b0b724/Auto%20Generated%20Inline%20Image%202?part=0.2)
The red area is the HTML version of the plain text. So the copy pulls both the source and the rendered text. A normal paste with ctrl-V pastes both the source code as well as the rendered text. But shift-INS pastes only the rendered version.
This could be considered a feature rather than a bug. :)
I have tried pasting the same text into plain text areas in other apps as well as apps that accept formatting. An app that accepts rich text does render the rich version - apps that only accept plain text only show the unrendered version.
I have not done any work with buffers but I just did some research and found that Copy in a browser and other rich text providers returns a structured copy buffer, not just plain text:
https://msdn.microsoft.com/en-us/library/aa767917%28v=vs.85%29.aspxHere is the HTML for this
bold and
underlined text.
That came from Notepad++ by going to Edit>Paste Special>Paste HTML Content.
With that info and related keywords I'm sure you'll be able to find code for parsing out the plain text.
OR... Perhaps we could document this as a feature, recommend shift-INS to paste the text component of a copy buffer which includes HTML, and provide a context help button on the Comments area which links directly to the relevant wiki page. That would take care of everything.
![](https://groups.google.com/group/abstractspoon-todolist-support/attach/1d54cb4b0b724/Auto%20Generated%20Inline%20Image%203?part=0.3)
For extra points, perhaps you could detect when the copy buffer has an
HTML component and prompt the user: "This text is HTML-encoded. If you
wish to preserve formatting, switch the comments to Rich Text. If you
wish to see the HTML in your paste, click OK. If you only want the plain
text, click Cancel here, then use Shift-INS to do the paste."
Thanks!
T