Fix 'A' command not cursor moving to end of line.
Fix insertiong end of line did not work properly( because of adjustCursorPosoition called end of insertion handler)
Delete unused code
Some modification for TextObject