How to provide Context Sensitive Help?

Hello,

I am not able to find a way to detect the word in which insertion point is in the Code Editor.

What I want to do is provide context sensitive help to the user when they press F1.

How to do this?

Thanks,

Yogesh

If you mean when using the syntax highlight memo (TIDEMemo or TScrMemo), you can simply use  WordAtCursor function.

Yes that is exactly what I meant!!!

Thanks for the tip. :)

Regards,