diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-24 11:51:12 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-24 11:51:12 +0100 |
| commit | 2d5dfc5b99cc3abfdafad69c19ce8ea05e9e8af4 (patch) | |
| tree | cae06465e3812852729ebef82ae5cdc047cc5541 /src/StyleReader.cs | |
| parent | 0e7aaef3655c455094df9a6a4580ad0aff8519a1 (diff) | |
change namespace of CrowIDE to Crow.Coding, move editor source inside, crowIde wip
Diffstat (limited to 'src/StyleReader.cs')
| -rw-r--r-- | src/StyleReader.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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<string, Style> 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 = ""; } |