diff options
Diffstat (limited to 'main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs index e9de77d760..266cf16338 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/BlameWidget.cs @@ -34,6 +34,7 @@ using MonoDevelop.Ide; using System.Threading; using MonoDevelop.Core; using MonoDevelop.Components.Commands; +using MonoDevelop.Components; namespace MonoDevelop.VersionControl.Views { @@ -53,7 +54,7 @@ namespace MonoDevelop.VersionControl.Views BlameRenderer overview; - TextEditor editor; + MonoTextEditor editor; List<ContainerChild> children = new List<ContainerChild> (); public Adjustment Vadjustment { @@ -74,7 +75,7 @@ namespace MonoDevelop.VersionControl.Views } } - public TextEditor Editor { + public MonoTextEditor Editor { get { return this.editor; } @@ -123,7 +124,7 @@ namespace MonoDevelop.VersionControl.Views hScrollBar = new HScrollbar (hAdjustment); AddChild (hScrollBar); - editor = new TextEditor (sourceEditor.TextEditor.Document, sourceEditor.TextEditor.Options); + editor = new MonoTextEditor (sourceEditor.TextEditor.Document, sourceEditor.TextEditor.Options); AddChild (editor); editor.SetScrollAdjustments (hAdjustment, vAdjustment); @@ -720,7 +721,7 @@ namespace MonoDevelop.VersionControl.Views e.Window.DrawLayout (Style.BlackGC, Allocation.Width - revisionWidth - margin - revisionWidth - dateRevisionSpacing, (int)(curY + (widget.Editor.LineHeight - h) / 2), layout); } - using (var authorLayout = PangoUtil.CreateLayout (this)) { + using (var authorLayout = MonoDevelop.Components.PangoUtil.CreateLayout (this)) { var description = Pango.FontDescription.FromString ("Tahoma " + (int)(10 * widget.Editor.Options.Zoom)); authorLayout.FontDescription = description; authorLayout.SetText (ann.Author); |