Author: mkrueger Date: 2008-02-17 19:21:13 -0500 (Sun, 17 Feb 2008) New Revision: 96020
Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs Log: * MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs: Fixed tabs2spaces option. Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog =================================================================== --- trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog 2008-02-18 00:10:06 UTC (rev 96019) +++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog 2008-02-18 00:21:13 UTC (rev 96020) @@ -1,3 +1,8 @@ +2008-02-18 Mike Krüger <[EMAIL PROTECTED]> + + * MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs: Fixed tabs2spaces + option. + 2008-02-17 Mike Krüger <[EMAIL PROTECTED]> * MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs: Completion Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs =================================================================== --- trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs 2008-02-18 00:10:06 UTC (rev 96019) +++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs 2008-02-18 00:21:13 UTC (rev 96020) @@ -58,13 +58,28 @@ public static int TabIndent { get { - return properties.Get ("TabIndent", 4); + return PropertyService.Get ("TabIndent", 4); } set { - properties.Set ("TabIndent", value); + PropertyService.Set ("TabIndent", value); } } + public static bool ConvertTabsToSpaces { + get { + return PropertyService.Get ("TabsToSpaces", false); + } + set { + PropertyService.Set ("TabsToSpaces", value); + } + } + + public static string IndentString { + get { + return ConvertTabsToSpaces ? new string(' ', TabIndent) : "\t"; + } + } + public static bool SyntaxHighlight { get { return properties.Get ("SyntaxHighlight", true); @@ -209,14 +224,6 @@ } } - public static bool ConvertTabsToSpaces { - get { - return properties.Get ("TabsToSpaces", false); - } - set { - properties.Set ("TabsToSpaces", value); - } - } public static bool UseAntiAliasedFont { get { @@ -432,10 +439,5 @@ } } - public static string IndentString { - get { - return ConvertTabsToSpaces ? new string(' ', TabIndent) : "\t"; - } - } } } _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches