aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/IHighlightingDefinitionReferenceResolver.cs
blob: d378ae1b711e5359d553aaac9943239d0118c616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)

using System;

namespace Tango.Scripting.Editors.Highlighting
{
	/// <summary>
	/// Interface for resolvers that can solve cross-definition references.
	/// </summary>
	public interface IHighlightingDefinitionReferenceResolver
	{
		/// <summary>
		/// Gets the highlighting definition by name, or null if it is not found.
		/// </summary>
		IHighlightingDefinition GetDefinition(string name);
	}
}
n>; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Tango.MachineStudio.Developer.Views { /// <summary> /// Interaction logic for RunningJobView.xaml /// </summary> public partial class RunningJobView : UserControl { public RunningJobView() { InitializeComponent(); } private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (gridSegments.SelectedItem != null) { gridSegments.ScrollIntoView(gridSegments.SelectedItem); } } } }