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