Adds tab settings and line numbers