Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Problems with rename refactoring and undo #268

Open
aeisenberg opened this issue Mar 27, 2013 · 1 comment
Open

Problems with rename refactoring and undo #268

aeisenberg opened this issue Mar 27, 2013 · 1 comment
Assignees

Comments

@aeisenberg
Copy link
Contributor

  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!
@ghost ghost assigned aclement Mar 27, 2013
@aclement
Copy link
Contributor

aclement commented Apr 1, 2013

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants