Fix bug for indenting using tab key and multi-line selection