Changed the richtextctrl in the DNA editor to styledtextctrl and made custom lexers to deal with features. This seems to work better than highlighting in richtextctrls.