Exemple #1
0
 private void TagsGrid_RowChangedEvent(object sender, EventArgs e)
 {
     if (TagsGrid.CurrentItem != null)
     {
         int line = ((GherkinTag)TagsGrid.CurrentItem).Line;
         GherkinTextEditor.HighlightLine(line);
     }
 }
Exemple #2
0
 private void StepsGrid_RowChangedEvent(object sender, EventArgs e)
 {
     if (StepsGrid.CurrentItem != null)
     {
         int line = ((GherkinStep)StepsGrid.CurrentItem).Step.Location.Line;
         GherkinTextEditor.HighlightLine(line);
     }
 }
Exemple #3
0
 private void ScenariosGrid_RowChangedEvent(object sender, EventArgs e)
 {
     if (ScenariosGrid.CurrentItem != null)
     {
         int line = ((GherkinScenarioDefinition)ScenariosGrid.CurrentItem).ScenarioDefintion.Location.Line;
         GherkinTextEditor.HighlightLine(line);
     }
 }