![Avatar](https://secure.gravatar.com/avatar/75cb163720be8a933735c7cda760288d.jpg?s=64&d=identicon&r=g)
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