Exemple #1
0
		public ColorableItems(
			string name,
			CustomizedHighlightingColor color,
			FontsAndColorsItems fontsAndColorsItems)
		{
			this.Name = name;
			this.color = color;
			this.fontsAndColorsItems = fontsAndColorsItems;
		}
		void CreateColorableItems()
		{
			highlightingColor = new CustomizedHighlightingColor();
			
			fakeHighlightingRules = new FakeCustomizedHighlightingRules();
			fakeHighlightingRules.Colors.Add(highlightingColor);
			
			fontsAndColorsItems = new FontsAndColorsItems(fakeHighlightingRules);
			
			items = new ColorableItems("Name", highlightingColor, fontsAndColorsItems);
		}
		void CreateFontsAndColorItems()
		{
			fakeHighlightingRules = new FakeCustomizedHighlightingRules();
			items = new FontsAndColorsItems(fakeHighlightingRules);
		}
 public TextEditorFontsAndColorsItemsProperty()
     : base("FontsAndColorsItems")
 {
     fontsAndColorsItems = new FontsAndColorsItems();
 }
 public TextEditorFontsAndColorsItemsProperty()
     : base("FontsAndColorsItems")
 {
     fontsAndColorsItems = new FontsAndColorsItems();
 }