Add text interaction flags for mouse/keyboard editing of text widgets