QuickInfoSession setting Popup MaxWidth for default language IQuickInfoSession

SyntaxEditor for WPF Forum

Posted 10 years ago by Bill L
Version: 14.1.0602
Avatar

Hey,

Is there a way to set the MaxWidth property for a QuickInfoSession that is created by the default language registered IQuickInfoProvider without adding a custom IQuickInfo provider?

Sometimes code comments contain a large amount of text for a referenced Class Method and the popup will will take all the available screen horizontal space before starting a new line.

 

Best regards,

Bill

Comments (2)

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

Hi Bill,

Creating a wrapper quick info provider would be one way to alter the MaxWidth.  The other more generic way might be to handle the editor.IntelliPrompt.Sessions.ItemAdding event and if you see an IQuickInfoSession being added, update the MaxWidth in that handler.


Actipro Software Support

Posted 10 years ago by Bill L
Avatar

Great, I handled it in the ItemAdding event.

Thanks!

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.