Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@xamarin.com>2015-04-20 19:07:51 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2015-04-20 19:07:51 +0300
commit95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch)
treef8f137cddcb9a40499d303be95722fd2c6081bce /main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs
parentb70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff)
parentde043d330a8bf5855d4d983c804cd36727cb2406 (diff)
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs')
-rw-r--r--main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs b/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs
index 551760fe69..c08d33c374 100644
--- a/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs
+++ b/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs
@@ -36,6 +36,7 @@ using MonoDevelop.Ide.Gui;
using MonoDevelop.Components.Commands;
using MonoDevelop.Ide;
using System.Collections.Generic;
+using MonoDevelop.Ide.Editor;
namespace MonoDevelop.GtkCore.GuiBuilder
{
@@ -171,19 +172,19 @@ namespace MonoDevelop.GtkCore.GuiBuilder
base.Dispose ();
}
- public override void Load (string fileName)
+ public override void Load (FileOpenInformation fileOpenInformation)
{
- ContentName = fileName;
- content.Load (fileName);
+ ContentName = fileOpenInformation.FileName;
+ content.Load (ContentName);
}
public override Gtk.Widget Control {
get { return control; }
}
- public override void Save (string fileName)
+ public override void Save (FileSaveInformation fileSaveInformation)
{
- content.Save (fileName);
+ content.Save (fileSaveInformation);
}
public override bool IsDirty {
@@ -246,10 +247,10 @@ namespace MonoDevelop.GtkCore.GuiBuilder
public void JumpTo (int line, int column)
{
- IEditableTextBuffer ip = (IEditableTextBuffer) content.GetContent (typeof(IEditableTextBuffer));
+ var ip = (TextEditor) content.GetContent (typeof(TextEditor));
if (ip != null) {
ShowPage (0);
- ip.SetCaretTo (line, column);
+ ip.SetCaretLocation (line, column);
}
}
}