Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Problems with rename refactoring and undo #268

Open
aeisenberg opened this Issue · 1 comment

2 participants

@aeisenberg
  1. Start with the following text:
var names;
for (var foo =0;foo<99;foo++) {
  console.log(names[foo]);
}
  1. Select the first foo (must be the entire word)
  2. Invoke rename refactoring
  3. Move caret so that it is at the start of foo.
  4. Type any char
  5. Craziness!
  6. Undo
  7. Even more craziness!
@aclement aclement was assigned
@aclement
Owner

I knew that moving the cursor during the edit would break things (due to how we intercept the key presses), I don't think that is the same as the problem I was seeing with renaming misbehaving on undo. In my situation I was just typing the new chars and then undo, no cursor movement/pasting or anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.