231
1 1 vote vote vote

[ Resolved ]

For some cases, Delete key deletes more than expected text rather than selected text.

Steps to regenerate

when the .DocumentHtml property of the WinFormHtmlEditor control contains the following html, and I select the text "Dear Customer...." till "Sincerely", and I press the Delete key, the control will remove more than the selected text :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<meta content="text/html; charset=unicode" http-equiv="Content-Type" />
<meta name="GENERATOR" content="MSHTML 10.00.9200.16576" /></head>
<body>
<p>Dear Customer,</p>
<p>Thank you for your e-mail and interest in our products.rum, you can freely
share your own knowledge, opinions and growing photos with a broad group of
interested and friendly members.</p>
<p><br />Sincerely,</p>
<meta name="GENERATOR" content="MSHTML 10.00.9200.16576" />
<p>Mike</p></body></html>
Please feel free to share your comment.
loading...