/// <summary> /// Occurs when user click on StyleVisualMarker joined to this style /// </summary> public virtual void OnVisualMarkerClick(FastColoredTextBox tb, VisualMarkerEventArgs args) { if (VisualMarkerClick != null) { VisualMarkerClick(tb, args); } }
private void fctb_VisualMarkerClick(object sender, VisualMarkerEventArgs e) { //is it our style ? if (e.Style == shortCutStyle) { //show popup menu cmMark.Show(fctb.PointToScreen(e.Location)); } }
/// <summary> /// Occurs when user click on StyleVisualMarker joined to this style /// </summary> public virtual void OnVisualMarkerClick(FastColoredTextBox tb, VisualMarkerEventArgs args) { if (VisualMarkerClick != null) VisualMarkerClick(tb, args); }
/// <summary> /// Occurs when user click on StyleVisualMarker joined to this style /// </summary> public virtual void OnVisualMarkerClick(FastColoredTextBox tb, VisualMarkerEventArgs args) { VisualMarkerClick?.Invoke(tb, args); }
void fctbDocument_VisualMarkerClick(object sender, FastColoredTextBoxNS.VisualMarkerEventArgs e) { // throw new NotImplementedException(); }