MonoDevelop.Ide.Editor.Highlighting.ColorScheme.GetChunkStyle C# (CSharp) Method

GetChunkStyle() private method

private GetChunkStyle ( string color ) : ChunkStyle
color string
return ChunkStyle
		internal ChunkStyle GetChunkStyle (string color)
		{
			if (color == null)
				return GetChunkStyle ("Plain Text");
			PropertyDecsription val;
			if (!textColors.TryGetValue (color, out val)) {
				Console.WriteLine ("Chunk style : " + color + " is undefined.");
				return GetChunkStyle ("Plain Text");
			}
			return val.Info.GetValue (this, null) as ChunkStyle;
		}