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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringPreviewDialog.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:
92
92
                        };
93
93
                        
94
94
                        FillChanges ();
95
 
                        Resize (IdeApp.Workbench.ActiveDocument.ActiveView.Control.Allocation.Width,
96
 
                                IdeApp.Workbench.ActiveDocument.ActiveView.Control.Allocation.Height);
97
95
                }
98
96
                
99
97
                void SetLocationTextData (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter)
146
144
                                changedDocument.FileName = replaceChange.FileName;
147
145
                                changedDocument.Text = originalDocument.Text;
148
146
                                
149
 
                                ((Mono.TextEditor.IBuffer)changedDocument).Replace (replaceChange.Offset, replaceChange.RemovedChars, replaceChange.InsertedText);
 
147
                                changedDocument.Replace (replaceChange.Offset, replaceChange.RemovedChars, replaceChange.InsertedText);
150
148
                                
151
149
                                string diffString = Mono.TextEditor.Utils.Diff.GetDiffString (originalDocument, changedDocument);
152
150