/// <summary> /// Shows VisualMarker /// Call this method in Draw method, when you need to show VisualMarker for your style /// </summary> /// <param name="tb">The tb.</param> /// <param name="marker">The marker.</param> protected virtual void AddVisualMarker(ZeroitCodeTextBox tb, StyleVisualMarker marker) { tb.AddVisualMarker(marker); }
/// <summary> /// Initializes a new instance of the <see cref="VisualMarkerEventArgs"/> class. /// </summary> /// <param name="style">The style.</param> /// <param name="marker">The marker.</param> /// <param name="args">The <see cref="MouseEventArgs"/> instance containing the event data.</param> 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; }