Replies: 1 comment
-
private void textEditor_GotFocus(object sender, RoutedEventArgs e)
{
textEditor.Options.HighlightCurrentLine = true;
}
private void textEditor_LostFocus(object sender, RoutedEventArgs e)
{
textEditor.Options.HighlightCurrentLine = false;
}Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set
TextEditor.Options.HighlightCurrentLinetoTruewhenTextEditorget focus, and setHighlightCurrentLinetoFalsewhenTextEditorlost focus.Beta Was this translation helpful? Give feedback.
All reactions