change syntax highlighting in editor when db changes; refs #3