Re: web page text highlighter from toolbar button



tasleem <tasleem@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
i have tried
txt.execCommand("RemoveFormat", true, null);
with 1st problem, but it also removes the previous background other
than yellow, i have one solution in mind that replace/delete the <font
color:yello> and insert previous text to that place. but did not any
function to do so in ihtmltxtRange

Try pasteHTML()
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.