~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorOptions.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-02-02 11:39:59 UTC
  • mfrom: (1.4.4 upstream)
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20100202113959-n3u848nfj35yyd03
* New upstream release
* debian/control:
  + Standards version 3.8.4 (no changes needed)
* debian/patches/remove_support_for_non_debian_functionality.patch,
  debian/patches/remove_support_for_soft_debugger.patch,
  debian/patches/remove_support_for_moonlight.patch,
  debian/rules:
  + Split patch into two pieces, to make it easier to enable either
    SDB or Moonlight support with a rebuild
* debian/monodevelop-moonlight.install,
  debian/monodevelop-debugger-sdb.install,
  debian/control:
  + Create packaging data for the Soft Debugger addin and Moonlight addin -
    and comment them out of debian/control as we can't provide them on
    Debian for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
                                this.UnderlineErrors = (bool) args.NewValue;
142
142
                                break;
143
143
                        case "IndentStyle":
144
 
                                this.IndentStyle = (MonoDevelop.Ide.Gui.Content.IndentStyle) args.NewValue;
 
144
                                if (args.NewValue == null) {
 
145
                                        LoggingService.LogWarning ("tried to set indent style == null");
 
146
                                } else if (!(args.NewValue is MonoDevelop.Ide.Gui.Content.IndentStyle)) {
 
147
                                        LoggingService.LogWarning ("tried to set indent style to " + args.NewValue + " which isn't from type IndentStyle instead it is from:" +  args.NewValue.GetType ());
 
148
                                        this.IndentStyle = (MonoDevelop.Ide.Gui.Content.IndentStyle)Enum.Parse (typeof (MonoDevelop.Ide.Gui.Content.IndentStyle), args.NewValue.ToString ());
 
149
                                } else 
 
150
                                        this.IndentStyle = (MonoDevelop.Ide.Gui.Content.IndentStyle) args.NewValue;
145
151
                                break;
146
152
                        case "EditorFontType":
147
153
                                this.EditorFontType = (MonoDevelop.SourceEditor.EditorFontType) args.NewValue;