Change the TAB key to indent if we're at the beginning of a line. Otherwise, do code completion.