completed bracket evaluation for preprocessing leaving out coloring
brackets upon text change