textEditor addword rule, need to debug further.