/// <summary> /// Occurs when the link is clicked. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="e">A <see cref="RoutedEventArgs"/> that contains the event data.</param> private void OnGoToPreviousDocCommentHyperlinkClick(object sender, RoutedEventArgs e) { reader.Offset = editor.ActiveView.Selection.EndOffset; reader.GoToPreviousTokenWithKey("XmlCommentStartTag"); this.AppendMessageAndUpdateUI("Previous documentation comment", true); }