Re: 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.
>

I added your bug in the open bugs list. One must select the second line
from right to left. Selecting the whole line is not mandatory, it is
sufficient to select only a part at the left.

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

Received on Tuesday, 5 August 2008 06:17:27 UTC