texteditor: Only create pygments warning once .. not like everytime you change tab