[Monodevelop-patches-list] r618 - trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Jan 22 19:06:10 EST 2004


Author: jluke
Date: 2004-01-22 19:06:10 -0500 (Thu, 22 Jan 2004)
New Revision: 618

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextEditorProperties.cs
Log:
use Font from options


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextEditorProperties.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextEditorProperties.cs	2004-01-22 22:14:02 UTC (rev 617)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextEditorProperties.cs	2004-01-23 00:06:10 UTC (rev 618)
@@ -21,8 +21,7 @@
 		static SharpDevelopTextEditorProperties()
 		{
 			IProperties properties2 = ((IProperties)propertyService.GetProperty("ICSharpCode.TextEditor.Document.Document.DefaultDocumentAggregatorProperties", new DefaultProperties()));
-			//FontContainer.DefaultFont = FontContainer.ParseFont(properties2.GetProperty("DefaultFont", new System.Drawing.Font("Courier New", 10).ToString()));
-			FontContainer.DefaultFont = FontDescription.FromString ("Courier 10 Pitch, 10"); // FIXME PEDRO
+			FontContainer.DefaultFont = FontContainer.ParseFont(properties2.GetProperty("DefaultFont", FontDescription.FromString ("Courier New 10").ToString ()));
 			properties2.PropertyChanged += new PropertyEventHandler(CheckFontChange);
 		}
 		




More information about the Monodevelop-patches-list mailing list