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