aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-05-02 17:36:54 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-05-02 17:36:54 +0300
commitee697f7a3350d0a97bddee4de3a2ae4f9d285052 (patch)
tree2dc2e3bb811b0d89a3c4c51801c1572966fcee7c /Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs
parent73c4b814f1f28170ae72723568189096413c3564 (diff)
downloadTango-ee697f7a3350d0a97bddee4de3a2ae4f9d285052.tar.gz
Tango-ee697f7a3350d0a97bddee4de3a2ae4f9d285052.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml.cs4
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;
}