Exemplo n.º 1
0
 public Layer(TextView textView, KnownLayer knownLayer)
 {
     Debug.Assert(textView != null);
     this.textView   = textView;
     this.knownLayer = knownLayer;
     this.Focusable  = false;
 }
Exemplo n.º 2
0
 public Layer(TextView textView, KnownLayer knownLayer)
 {
     Debug.Assert(textView != null);
     this.textView = textView;
     this.knownLayer = knownLayer;
     Focusable = false;
 }
 public SearchResultsBackgroundRenderer()
 {
     Layer               = KnownLayer.Selection;
     markerBrush         = new SolidColorBrush(Colors.Orange);
     markerBrush.Opacity = 0.5;
     markerPen           = new Pen(markerBrush, 1);
 }
Exemplo n.º 4
0
 public Layer(TextView textView, KnownLayer knownLayer)
 {
     Debug.Assert(textView != null);
     TextView         = textView;
     KnownLayer       = knownLayer;
     Focusable        = false;
     IsHitTestVisible = false;
 }
Exemplo n.º 5
0
 public LayerPosition(KnownLayer knownLayer, LayerInsertionPosition position)
 {
     KnownLayer = knownLayer;
     Position   = position;
 }
Exemplo n.º 6
0
 public LayerPosition(KnownLayer knownLayer, LayerInsertionPosition position)
 {
     this.KnownLayer = knownLayer;
     this.Position   = position;
 }
Exemplo n.º 7
0
 public HighlightCurrentLineBackgroundRenderer(XmlEditor editor, KnownLayer layer = KnownLayer.Background)
 {
     _xmlEditor = editor;
     _editor    = editor.Editor;
     _layer     = layer;
 }