F8 renaming should be disabled once the text cursor leave the variable/function name; currently this doesn't apply when the user navigate with the arrow keys, leading to messed up regions.
example #1: start renaming with text cursor in a function name, navigate to the first argument, press anything
example #2: start renaming with text cursor in a variable, navigate to the next variable, press anything