-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undo (ctrl+z) makes a mess #16
Comments
Ah, that makes sense; I'm not suspending undo at all, which I think other invocations of linked mode editing do. Thank you for the bug report. |
@sylviatancheva / @mniewrzal (since you opened #18 and #21 so presumably you've had this problem), are either of you able to provide a consistent set of steps which will lead to things getting into a huge mess? I tried to reproduce this by selecting all or some occurrences of the text public class SomeMyThing {
public void MyThing() {
MyThing();
// MyThing();
System.out.println("MyThing; yep, MyThing");
/*And sometimes I like MyThing*/
}
} but the behaviour I got was pretty reasonable:
|
I used a very simple php example: |
@caspark perhaps the issue is more visible on those editor which are based on WTP Source Editing. Try editors like HTML, XML, CSS and PHP. |
Thanks, confirmed on the PHP editor; I can get some very screwy things to happen. Experimenting a bit, I determined that this only happens when you already have some undo history; But it's also deterministic: if, after freshly opening the file with contents Anyway, disabling undo while in linked edit mode is probably the easiest hack to work around this. (I don't think it's really worth investigating how to fix it properly, because any "real" multiple cursor support will need to move away from linked mode editing anyway.) |
While editing a few lines I pressed ctrl+z few times and all the code went into a huge mess. Seems that undo is buggy.
(Eclipse Version: 4.4.0.v20140925-0400)
The text was updated successfully, but these errors were encountered: