From 2d5dfc5b99cc3abfdafad69c19ce8ea05e9e8af4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 24 Feb 2018 11:51:12 +0100 Subject: change namespace of CrowIDE to Crow.Coding, move editor source inside, crowIde wip --- src/StyleReader.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/StyleReader.cs') diff --git a/src/StyleReader.cs b/src/StyleReader.cs index 26037091..5a00a594 100644 --- a/src/StyleReader.cs +++ b/src/StyleReader.cs @@ -43,7 +43,7 @@ namespace Crow int column = 1; int line = 1; - public StyleReader (Interface iface, Stream stream, string resId) + public StyleReader (Dictionary styling, Stream stream, string resId) : base(stream) { resourceId = resId; @@ -137,11 +137,11 @@ namespace Crow string expression = token.Trim (); foreach (string tc in targetsClasses) { - if (!iface.Styling.ContainsKey (tc)) - iface.Styling [tc] = new Style (); - else if (iface.Styling [tc].ContainsKey (currentProperty)) + if (!styling.ContainsKey (tc)) + styling [tc] = new Style (); + else if (styling [tc].ContainsKey (currentProperty)) continue; - iface.Styling [tc] [currentProperty] = expression; + styling [tc] [currentProperty] = expression; } token = ""; } -- cgit v1.3.1-4-g156e