CTRL-Z / CTRL-Y undoes/redoes 2 lines at once

04 Jul 2012

CTRL-Z changed two (2) different lines at once tto their previous state. when redoing the changes with CTRL-Y the same happended to the two lines. The changes were: replaced a single char during the first edit, added some text during the (adjacent) second edit in a different line.

Hope you can reproduce and solve this.

(using Mozilla 13 on win XP)

Andreas

2012-07-04: wasn't able to reproduce it the last two days, maybe just a transient malfunction.

16 Jul 2012

Um... nope, I have the problem fairly consistently .... Do a ( MAC, not PC ) Command-Z / Command-Y, and I get multiple undo or redo operations dependent on the durration that I hold down the Command key

-deleted-
16 Jul 2012

Hi,

@Andreas - We are still investigating the issue, but so far we are unable to reproduce it on Mozilla/Chrome for Windows. Can you confirm whether you're able to reproduce it with the current live Compiler? Thanks in advance.

@Neal - Unfortunately Mac never reports "key up" event when a key is released in combination with Command key. Just to be more clear, the Compiler wouldn't know if one has released the C/V/X key because Mac wouldn't report it and the key sequence is interrupted (reported) only if the Command key is released. It's even stranger that Mac does that only with the Command key, while with Shift/Ctrl/Alt it behaves normally as expected. We are working on a workaround which is planned for the next minor release of the Compiler.

Mihail