support textarea cursor postion set