Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
[TextEditor] Fixed color style panel edit & remove commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Krüger committed Feb 18, 2013
1 parent ac62af1 commit 7477ca4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,10 @@ public static void LoadStylesAndModes (string path)
}
}
} else if (file.EndsWith ("Style.json", StringComparison.Ordinal)) {
using (Stream stream = File.OpenRead (file)) {
using (var stream = File.OpenRead (file)) {
string styleName = ScanStyle (stream);
styleLookup [styleName] = new UrlStreamProvider (file);
isLoadedFromFile [styleName] = file;
}
}
}
Expand Down

0 comments on commit 7477ca4

Please sign in to comment.