~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/ChunkStyle.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
                        ChunkStyle c = o as ChunkStyle;
148
148
                        return c != null && Bold == c.Bold && Italic == c.Italic && Color.GetHashCode () == c.Color.GetHashCode ();
149
149
                }
 
150
                
 
151
                public Gdk.GC CreateBgGC (Gdk.Drawable drawable)
 
152
                {
 
153
                        return new Gdk.GC (drawable) { RgbBgColor = Color, RgbFgColor = BackgroundColor };
 
154
                }
 
155
                
 
156
                public Gdk.GC CreateFgGC (Gdk.Drawable drawable)
 
157
                {
 
158
                        return new Gdk.GC (drawable) { RgbBgColor = BackgroundColor, RgbFgColor = Color };
 
159
                }
150
160
        }
151
161
}