讀檔 state切換(在insert state會自爆)  pointer state有選取 切換state取消選取!