File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 <Setter Property =" Template" >
1111 <Setter .Value>
1212 <ControlTemplate TargetType =" {x:Type AvalonEdit:TextEditor}" >
13- <ScrollViewer
14- Focusable=" False"
15- Name=" PART_ScrollViewer"
16- CanContentScroll=" True"
17- VerticalScrollBarVisibility=" {TemplateBinding VerticalScrollBarVisibility}"
18- HorizontalScrollBarVisibility=" {TemplateBinding HorizontalScrollBarVisibility}"
19- Content=" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=TextArea}"
20- VerticalContentAlignment=" Top"
21- HorizontalContentAlignment=" Left"
13+ <Border
2214 Background=" {TemplateBinding Background}"
23- Padding=" {TemplateBinding Padding}"
2415 BorderBrush=" {TemplateBinding BorderBrush}"
25- BorderThickness=" {TemplateBinding BorderThickness}"
26- />
16+ BorderThickness=" {TemplateBinding BorderThickness}" >
17+ <ScrollViewer
18+ Focusable=" False"
19+ Name=" PART_ScrollViewer"
20+ CanContentScroll=" True"
21+ VerticalScrollBarVisibility=" {TemplateBinding VerticalScrollBarVisibility}"
22+ HorizontalScrollBarVisibility=" {TemplateBinding HorizontalScrollBarVisibility}"
23+ Content=" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=TextArea}"
24+ VerticalContentAlignment=" Top"
25+ HorizontalContentAlignment=" Left"
26+ Padding=" {TemplateBinding Padding}"
27+ />
28+ </Border >
2729 <ControlTemplate .Triggers>
2830 <Trigger Property =" WordWrap"
2931 Value =" True" >
You can’t perform that action at this time.
0 commit comments