Fixed bug when cursor at left of # or . + search before curent file and after other files