Clean up mode-specific buttons in text editor.
Clean up mode-specific buttons in text editor.

plinkopenguin/wiremod,mitterdoo/wire,Python1320/wire,sammyt291/wire,wiremod/wire,immibis/wiremod,notcake/wire,garrysmodlua/wire,CaptainPRICE/wire,NezzKryptic/Wire,Grocel/wire,dvdvideo1234/wire,thegrb93/wire,bigdogmat/wire,mms92/wire,rafradek/wire