diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs b/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs index a74e649c0..3fe87c7e2 100644 --- a/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs +++ b/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs @@ -182,7 +182,7 @@ namespace Tango.SharedUI.Controls foreach (var v in variables) { - var hT = IntellisenseTypes.SingleOrDefault(x => x.Value.Name == v.Type); + var hT = IntellisenseTypes.SingleOrDefault(x => x.Key == v.Type); if (hT.Value != null) { @@ -259,7 +259,7 @@ namespace Tango.SharedUI.Controls - foreach (var name in HighlightTypes.Select(x => x.Value).Select(x => x.Name)) + foreach (var name in HighlightTypes.Select(x => x.Key)) { code += String.Format("<Word>{0}</Word>", name) + Environment.NewLine; } |
