Would you be able to tell me the best way to disable intellisense ( context popup ) feature if currently in a comment block ("/**/") , or line ("//"). Is there an automated way to do this, or should I write some code to determine this .
ADAdministrator Syncfusion Team May 28, 2004 01:47 PM
Yes, this check should be in place. Here is a sample which demonstrates how you can work around this issue.
In the EditControl''s ContextPromptPopup event you can add a check:
if ((e.ItemName == "function1") && (!this.editControl1.GetString(this.editControl1.CurrentLine,1,this.editControl1.CurrentLine,3).StartsWith("/")))
to ensure that the context prompt is not displayed if the line begins with a "/".