When I put in a scrollViewer Theme like
Then I put in a simple AvalonEdit Control into the Grid, I have to place the cursor in the very first character of the first line to be able to select the text box. How can I get around this? I would like to be able to use the Nice looking scroll viewer with the Editor. Ideally it would be nice if Telerik had a radtextbox with Line numbers and Syntax Highlighting.
Thanks
<
Style
TargetType
=
"ScrollViewer"
>
<
Setter
Property
=
"t:StyleManager.Theme"
Value
=
"{StaticResource Theme}"
/>
</
Style
>
Then I put in a simple AvalonEdit Control into the Grid, I have to place the cursor in the very first character of the first line to be able to select the text box. How can I get around this? I would like to be able to use the Nice looking scroll viewer with the Editor. Ideally it would be nice if Telerik had a radtextbox with Line numbers and Syntax Highlighting.
<
Grid
>
<
avalonEdit:TextEditor
Margin
=
"5"
Grid.Row
=
"2"
Width
=
"Auto"
FontFamily
=
"Segoe UI"
FontSize
=
"10pt"
SyntaxHighlighting
=
"C#"
VerticalScrollBarVisibility
=
"Auto"
HorizontalScrollBarVisibility
=
"Auto"
ShowLineNumbers
=
"True"
>
</
avalonEdit:TextEditor
>
</
Grid
>
Thanks