intellisense question

Hi, 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 . Thanks Ryan

1 Reply

AD Administrator Syncfusion Team May 28, 2004 06:47 PM UTC

Hi Ryan, 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 "/". Regards Arun

Loader.
Up arrow icon