If you have your own editor, it's very simple to provide intellisense
support.
Firstly, you need to look for trigger keys. Dot is one trigger. When you
get the trigger, all you have to do is walk back your text buffer from the
point of insertion to find the word on which the trigger happened. You go
and check your list of words to find out if it supports intellisense (these
information could come from an xml file).
Once this is done, showing the intellisense windiw os trivial. You subclass
a control that contains a listview control (to display the little icon on
the left) and add this control to your editor. Handle the OnLostFocus event
and the control key presses (Escape and Enter) - and depending on the event,
you dispose the intellisense control and accept/reject the selection.
HTH
-vJ
"soni29" <so****@hotmail .com> wrote in message
news:ca******** *************** ***@posting.goo gle.com...
Hi,
I would like to create the intellisense feature in an editor I'm
working on, any pointers on how to do this? Basically the keywords
preceeding the . (period) to invoke the intellisense box will be user
defined, I know how to get those, just need to know how to create that
feature of knowing exactly what text is typed in and what to pop up.
Thank you.