Our text editor has content assist.
Can someone advice me how to find out the text choice the user has
selected in the popup window? I want to enhance my text editor so that
when certain text is choosen from Content Assist, the editor will invoke
actions accordingly.