コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 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));
     }
 }
コード例 #3
0
ファイル: Style.cs プロジェクト: DinrusGroup/DinrusIDE
 /// <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);
 }