Code to Paste HTML as Plain Text
-
The program nicely pastes a copied HTML page as plain text, stripped back to the text-only content of the page.
Where can I find the code that does that conversion of an HTML page to the bare plain text?
Thanks.
-
-
Thanks, Claudia.
I should have been more precise. I have the latest source. Where in the source?
Thanks.
-
you are looking for a paste operation, in particular the SCI_PASTE message.
If you search for it in SciLexer project you will find one saying something likecase SCI_PASTE: Paste()
and here we are, Paste (code in ScintillaWin.cxx) is the one you are interested in (well I assume you are interested in this function)
Cheers
Claudia -
Many thanks, Claudia. That’s it. Very much appreciated.
Cheers.