From ee697f7a3350d0a97bddee4de3a2ae4f9d285052 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Wed, 2 May 2018 17:36:54 +0300 Subject: merge --- .../Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs') 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("{0}", name) + Environment.NewLine; } -- cgit v1.3.1