public VisualMarkerEventArgs(Style style, StyleVisualMarker marker, MouseEventArgs args) : base(args.Button, args.Clicks, args.X, args.Y, args.Delta) { Style = style; Marker = marker; }
/// <summary> /// Shows VisualMarker /// Call this method in Draw method, when you need to show VisualMarker for your style /// </summary> protected virtual void AddVisualMarker(FastColoredTextBox tb, StyleVisualMarker marker) { tb.AddVisualMarker(marker); }
public VisualMarkerEventArgs(Style style, StyleVisualMarker marker, MouseEventArgs args) : base(args.Button, args.Clicks, args.X, args.Y, args.Delta) { this.Style = style; this.Marker = marker; }
/// <summary> /// Shows VisualMarker /// Call this method in Draw method, when you need to show VisualMarker for your style /// </summary> protected virtual void AddVisualMarker(FastColoredTextBox tb, StyleVisualMarker marker) { tb.AddVisualMarker(marker); }