Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9657
    atnak
    Participant

    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
    }
    #9658
    Yutaka Emura
    Keymaster

    Hello atnak,

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

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.