Hi Soorya,

You have a nice challenge there! So, if I understand you right, you want to 
have a popup menu with choices that pop's up on the location where the user 
types a certain combination?

things you need to do for that:

   1. monitor keystrokes. if the last few are a combination you know, you 
   do:
   2. get the cursor position, to show the menu at the right position.
   3. show the menu, and handle key's to do the menu navigation
   4. on the 'ok' key, replace the @x with the text that is attached to the 
   users choice
   5. figure out what to do if the user doesn't make a choice.
   6. figure out what the location is to place your cursor back
   7. put the cursor in that position.

I like the idea. You don't see this implemented too often. 

Regards
Sander
 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to