RichTextBox - bug discovered
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngrichtextbox' list.


Tim Hodgson
Hi All,

I have found a reproducible bug with RichTextBox that causes two
characters to be deleted at a time when hitting the backspace button.

1. View the control in a web page
2. Switch to HTML view
3. Paste some code
4. Switch to non-HTML view
5. Place cursor at the end of the text
6. Hit the backspace button
7. Two characters should disappear instead of one.

Anyone else experience this? Is there a workaround?

Tim Hodgson
ExclamationSoft
"We emphasize your business"
----------------------------------------------
http://www.NetMailBot.com - Send automated email
http://www.MailListBot.com - Send email from your web site
http://www.WebWatchBot.com - Monitor your web site
http://www.SmtpDotNet.com - Send email in .NET

-

Reply to this message...
 
    
Ollie Cornes

Hi Tim,

This looks like an interesting one, but I've not managed to repeat it.

- What version of IE are you using?
- What HTML do you paste into the HTML view?
- Can you reproduce it using Demo 1 from the RichTextBox web site

Ollie

--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of Tim
Hodgson
Sent: 14 July 2002 21:12
To: aspngrichtextbox
Subject: [aspngrichtextbox] RichTextBox - bug discovered

Hi All,

I have found a reproducible bug with RichTextBox that causes two
characters to be deleted at a time when hitting the backspace button.

1. View the control in a web page
2. Switch to HTML view
3. Paste some code
4. Switch to non-HTML view
5. Place cursor at the end of the text
6. Hit the backspace button
7. Two characters should disappear instead of one.

Anyone else experience this? Is there a workaround?

Tim Hodgson
ExclamationSoft
"We emphasize your business"
----------------------------------------------
http://www.NetMailBot.com - Send automated email
http://www.MailListBot.com - Send email from your web site
http://www.WebWatchBot.com - Monitor your web site
http://www.SmtpDotNet.com - Send email in .NET

-

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
    
Tim Hodgson
Hi,

1. I am using IE 6.0; however, It is actually happening in NetCaptor 7.0
which uses the IE automation controls. It appears that this is the only
browser causing the problem; therefore, it seems to be browser specific.

2. Any text will cause the behavior

3. This is reproducible on the demo at www.richtextbox.com

Tim Hodgson
ExclamationSoft
"We emphasize your business"
----------------------------------------------
http://www.NetMailBot.com - Send automated email
http://www.MailListBot.com - Send email from your web site
http://www.WebWatchBot.com - Monitor your web site
http://www.SmtpDotNet.com - Send email in .NET

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Monday, July 15, 2002 6:56 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: RichTextBox - bug discovered

Hi Tim,

This looks like an interesting one, but I've not managed to repeat it.

- What version of IE are you using?
- What HTML do you paste into the HTML view?
- Can you reproduce it using Demo 1 from the RichTextBox web site

Ollie

--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of Tim
Hodgson
Sent: 14 July 2002 21:12
To: aspngrichtextbox
Subject: [aspngrichtextbox] RichTextBox - bug discovered

Hi All,

I have found a reproducible bug with RichTextBox that causes two
characters to be deleted at a time when hitting the backspace button.

1. View the control in a web page
2. Switch to HTML view
3. Paste some code
4. Switch to non-HTML view
5. Place cursor at the end of the text
6. Hit the backspace button
7. Two characters should disappear instead of one.

Anyone else experience this? Is there a workaround?

Tim Hodgson
ExclamationSoft
"We emphasize your business"
----------------------------------------------
http://www.NetMailBot.com - Send automated email
http://www.MailListBot.com - Send email from your web site
http://www.WebWatchBot.com - Monitor your web site
http://www.SmtpDotNet.com - Send email in .NET

-

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT
-

-

Reply to this message...
 
    
Jeff Widgren
I have not experienced it... And I also tried to reproduce it using your
directions and was unsuccessful in doing so...

Do this happen to you no matter what code you paste in?

Have you tried to reproduce it on the demo site at www.richtextbox.com
just to see if it will do it in a different environment?

Jeff Widgren
iArchitex
Click here to reveal e-mail address
http://www.iArchitex.com

-----Original Message-----
From: Tim Hodgson [mailto:Click here to reveal e-mail address]
Sent: Sunday, July 14, 2002 3:12 PM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RichTextBox - bug discovered

Hi All,

I have found a reproducible bug with RichTextBox that causes two
characters to be deleted at a time when hitting the backspace button.

1. View the control in a web page
2. Switch to HTML view
3. Paste some code
4. Switch to non-HTML view
5. Place cursor at the end of the text
6. Hit the backspace button
7. Two characters should disappear instead of one.

Anyone else experience this? Is there a workaround?

Tim Hodgson
ExclamationSoft
"We emphasize your business"
----------------------------------------------
http://www.NetMailBot.com - Send automated email
http://www.MailListBot.com - Send email from your web site
http://www.WebWatchBot.com - Monitor your web site
http://www.SmtpDotNet.com - Send email in .NET

-

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
 
System.Windows.Forms.RichTextBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com