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?
Claudia Frank last edited by
I should have been more precise. I have the latest source. Where in the source?
Claudia Frank last edited by Claudia Frank
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 like
case 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)
Many thanks, Claudia. That’s it. Very much appreciated.