Use gContextMenu.textSelected always.