hi
I am trying to retrieve the collapsed text in my CollapsedRegionQuickInfoProvider. Purpose it the change the layout of the tooltip as it displays, just like i did with the QuickInfoProvider. I have a content control for that now:)How do i retrieve the text(range) of the collapsed text?
Thanks
Martin
I am trying to retrieve the collapsed text in my CollapsedRegionQuickInfoProvider. Purpose it the change the layout of the tooltip as it displays, just like i did with the QuickInfoProvider. I have a content control for that now:)
public class BlaiseCollapsedRegionQuickInfoProvider : CollapsedRegionQuickInfoProvider {
protected override bool RequestSession(ActiproSoftware.Windows.Controls.SyntaxEditor.IEditorView view, object context) {
if (context != null) {
TagSnapshotRange<IIntraTextSpacerTag> tagrange = context as TagSnapshotRange<IIntraTextSpacerTag>;
// make session/prepare tooltip content
//return true;
}
return base.RequestSession(view, context);
}
}
Thanks
Martin