minor improvements for coloring while using content assist