We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

intellisense question

Thread ID:

Created:

Updated:

Platform:

Replies:

14552 May 28,2004 11:14 AM May 28,2004 02:47 PM Windows Forms 1
loading
Tags: EditControl
Administrator [Syncfusion]
Asked On May 28, 2004 11:14 AM

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

Administrator [Syncfusion]
Replied On May 28, 2004 02:47 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;