Bug fix about line number switching with F2.