QuickInfo not working

SyntaxEditor for Windows Forms Forum

Posted 10 years ago by Bill Hludzinski
Version: 4.0.0281
Avatar
I am not able to get QuickInfo to work.

We have our own language XML, and I put IntelliPromptQuickInfoSupported="True" as an attribute at the top:

<SyntaxLanguage Key="MIN" LanguageDefinitionVersion="4.0" Secure="True" IntelliPromptQuickInfoSupported="True" WordContainsAdditionalCharacters="@_" ...

I have also implemented a Mouse Hover event handler, and the basic tool tip text works, but not the QuickInfo tool tip. I step through it and know the ViewMouseHoever is being called. Please help.

void se_ViewMouseHover(object sender, EditorViewMouseEventArgs e)
{
//e.ToolTipText = "This simple tool tip text works";
IntelliPromptQuickInfo qi = m_se.IntelliPrompt.QuickInfo;
qi.Show(e.Location, "Rich tooltip" ); // Does nothing
}

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Bill,

Actually by setting e.ToolTipText, you do show a quick info tip at the proper location. You can set all the rich formatting to e.ToolTipText, and don't need to call qi.Show, etc. here at all.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 9 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.