#3372: Undo / Redo Text Selection Bug
------------------------------+---------------------------------------------
Reporter: jheard | Owner:
Type: Bug | Status: new
Priority: High | Milestone:
Component: Core : Undo/Redo | Version: FCKeditor 2.6.3
Keywords: undo, redo, bug |
------------------------------+---------------------------------------------
Steps to reproduce:
1. Type in a line of text
2. Press Enter
3. Type another line of text.
4. Select the second line of text.
5. Press the "backspace" key and delete all of the highlighted text, or
just simply press backspace to delete all of the text.
6. Press Ctrl-Z or the Undo toolbar button
Observation: Only some of the deleted text is restored after pressing
undo, and in some cases the entire second line of text is deleted. The
behavior is sporadic, but reproducible. I've also noticed that if you
have a lot of content in the editor, after calling the undo command the
very last line of text will vanish.
Expected: The highlighted / deleted text should be restored as it was
prior to deletion and the remainder of the content remains unchanged.
Notes: Redo performs in the same odd fashion. First noticed this
behavior in the 2.6.3 version, but it's also reproducible in the nightly
build:
http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
--
Ticket URL: <http://dev.fckeditor.net/ticket/3372>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac