fix an cursor position bug after method completion
Authored by: zz8rice 2012-08-17
Parent: [r5677]
Child: [r5679]