Bug: Backspace deletes wrong text in pre

Hi,

If you select a line of text in a 'pre' element and press the 
Backspace key, the characters before the selection are deleted, not
the highlighted text as expected.

Test case:

1. Create a new XHTML document.

2. Select Insert->Preformatted (pre) from the menu.

3. Type a few words, press enter, then type some more words. E.g.

   Testing testing testing<Enter>
   Testing testing testing

4. Select all characters on the second line with the mouse (i.e. so
   that the whole line is selected).

5. Press Backspace.

Expected results:

   The second line is deleted.

Actual result:

   The last character of the first line is deleted.

Regards,

Leon...

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam

Received on Monday, 4 August 2008 12:01:39 UTC