Creating a Mentions Function for Perspective text area/text field

I was looking for context menu, But it is like, I can able to open only on right kouse click of the component. I need something like in the image. To find a cursor and to the dropdown popup near the text area component cursor.