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.HighlightCurrentLine
toTrue
whenTextEditor
get focus, and setHighlightCurrentLine
toFalse
whenTextEditor
lost focus.Beta Was this translation helpful? Give feedback.
All reactions