#63 fix incorrect behavior when update an opened file and then click the editing area