don't pick up tokens right of cursor

inspection of `foo(|a` was picking up 'a' instead of 'foo' due to an off by one error while tokenizing.

closes #6737