update characters considered part of word for selection