diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-07-09 13:49:27 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2014-07-09 13:49:27 +0400 |
commit | bf1ca4fdb89d25e2d26efe4cbc8692eb53c7a5d5 (patch) | |
tree | d9608ba8ae50bd543a142e8f5645c506c1cc6eaf /main/src/addins/MonoDevelop.AssemblyBrowser | |
parent | c15e5a3d90cdd5342ba740fcddcaec72fb39096d (diff) |
[Ide] Removed the IEncodedTextContent interface.
The text system can now properly handle the encodings. The view
contents are now using the FileOpenInformation that already contained
information about the encoding used.
I added the FileSaveInformation class that contains the same
information for the save operation. Using classes where more
information can be added stabilizes the API more. The old view
content/pad system should be reconsidered. We should use classes
instead of interfaces for implementing the view contents.
Diffstat (limited to 'main/src/addins/MonoDevelop.AssemblyBrowser')
-rw-r--r-- | main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserViewContent.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserViewContent.cs b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserViewContent.cs index 258d72c063..c84a2c59ae 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserViewContent.cs +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserViewContent.cs @@ -72,10 +72,10 @@ namespace MonoDevelop.AssemblyBrowser IsDisposed = false; } - public override void Load (string fileName) + public override void Load (FileOpenInformation fileOpenInformation) { ContentName = GettextCatalog.GetString ("Assembly Browser"); - widget.AddReferenceByFileName (fileName); + widget.AddReferenceByFileName (fileOpenInformation.FileName); } public override bool IsFile { |