Added breaking symbol check function

Made check_text_lexsymbol non static