ajaxorg/cloud9 — Issue #586: Refactor > Rename variable doesn't work for function parameters
Author: bartaz
Created: 2011-11-30 12:35:41+00:00
State: open

Steps to reproduce:

Open some JS file, place cursor on parameter in function definition.
All the instances of this variable in function body get highlighted.
Select 'Rename variable' from menu.
All the instances get highlighted in yellow.

Now when I try to type to rename the var, strange things happen.
When I click any letter (to add to variable name) the letter gets entered dozens of times (to every instance of the variable).
When, on the other hand, I try to remove some letter from the variable name, cloud9 removes more that one character (removing bracket from function definition, too).