public TrackBackground(EnhancedScrollBar enhanchedScrollBar) { this.editor = enhanchedScrollBar.editor; this.textMarkerService = enhanchedScrollBar.textMarkerService; this.changeWatcher = enhanchedScrollBar.changeWatcher; textMarkerService.RedrawRequested += textMarkerService_RedrawRequested; }
public TrackAdorner(EnhancedScrollBar enhanchedScrollBar) { this.editor = enhanchedScrollBar.editor; this.textMarkerService = enhanchedScrollBar.textMarkerService; this.Cursor = Cursors.Hand; this.ToolTip = string.Empty; textMarkerService.RedrawRequested += textMarkerService_RedrawRequested; }
public TrackAdorner(EnhancedScrollBar enhanchedScrollBar, Grid trackGrid) : base(trackGrid) { this.editor = enhanchedScrollBar.editor; this.textMarkerService = enhanchedScrollBar.textMarkerService; this.Cursor = Cursors.Hand; this.ToolTip = string.Empty; textMarkerService.RedrawRequested += RedrawRequested; editor.TextArea.TextView.VisualLinesChanged += VisualLinesChanged; }