Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Hover facility

Hello,
  I wanted to implement a custom hover facility for my editor which extends
CEditor.
  For testing, I have overridden the following function in my source viewer
configuration.

	public ITextHover getTextHover(ISourceViewer sourceViewer, String
contentType, int stateMask) 
	{
		return null;
	}
	
	public ITextHover getTextHover(ISourceViewer sourceViewer, String
contentType) 
	{
		return null;
	}
	public IAnnotationHover getAnnotationHover(ISourceViewer
sourceViewer) {
		return null;
	}
	
	public int[] getConfiguredTextHoverStateMasks(ISourceViewer
sourceViewer, String contentType) 
	{
		return null;
	}

  With this I expected that there should be not be any hover. But the hover
still comes. 
  Appreciate if someone throws light on the problem. How the hovering
facility is implemented in CDT.
  I need this very urgent. Pls. help
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


Back to the top