~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/CommonTextEditorOptions.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                {
42
42
                        PropertyService.PropertyChanged += PropertyServiceChanged;
43
43
                        base.FontName = PropertyService.Get ("FontName", MonoDevelop.Ide.DesktopService.DefaultMonospaceFont);
44
 
                        base.ColorScheme = PropertyService.Get ("ColorScheme", "Default");
 
44
                        base.ColorScheme = IdeApp.Preferences.ColorScheme;
45
45
                        base.UseAntiAliasing = PropertyService.Get ("UseAntiAliasing", true);
46
46
                        FontService.RegisterFontChangedCallback ("Editor", UpdateFont);
 
47
                        FontService.RegisterFontChangedCallback ("Editor(Gutter)", UpdateFont);
47
48
                }
48
49
                
49
50
                public override void Dispose ()
58
59
                void UpdateFont ()
59
60
                {
60
61
                        base.FontName = FontName;
 
62
                        base.GutterFontName = GutterFontName;
61
63
                        this.OnChanged (EventArgs.Empty);
62
64
                }
63
65