[Fix #73] Consider the tab-size of textarea to get caret's position