/// <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 OnGoToSnapshotEndHyperlinkClick(object sender, RoutedEventArgs e) { reader.Offset = editor.ActiveView.Selection.EndOffset; reader.GoToSnapshotEnd(); this.AppendMessageAndUpdateUI("Snapshot end", false); }