I\'m trying to write some code to interpret coding language in a .txt file. I wrote a function to preformat the code, but trying to use the function crashes the tab, here