EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Bug: The Undo function can irreversibly corrupt editted text
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Yutaka
Posted on: 9/21/2011 8:06 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: Bug: The Undo function can irreversibly corrupt editted text
Hello atnak,

I reproduce the issue, and will fix it in future versions.

Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

atnak
Posted on: 9/21/2011 5:21 pm
Just popping in
Joined: 11/28/2006
From:
Posts: 5
Bug: The Undo function can irreversibly corrupt editted text
Description:
A severe bug when using Undo can result in text that does not match any previous state. Attempting to Redo can further break the text.

Sighted Versions: EmEditor (Professional) 10.?.?, 11.0.0

Steps to reproduce:
1. Put this following text into a file.
if (foo(apple,
         BACKSPACE_OVER_THIS) {
}


2. Name the file "xxx.c" (so that the "C++" configuration will be selected) and reopen the file.

3. Place the cursor behind "_THIS" and press the Backspace key a few times.

4. Use Ctrl-Z to undo.

5. The resulting text may look like below.
if (foo(apple,
BACKSPACE_OV) {ER_THIS
}
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文