diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2012-03-15 18:56:21 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2012-03-15 18:56:21 +0400 |
commit | 74208fb2061d2347cb0223385dd9fec2fb6b164b (patch) | |
tree | 2bae5f184659533ce723bc2ff2be9cc5f721289a /main/src/addins/VersionControl | |
parent | eadea3b6ef472b57ba432c8ce652f01fb3666ec6 (diff) |
[Text] Replaced some File.ReadAllText usages with
TextReader.ReadAllText.
Diffstat (limited to 'main/src/addins/VersionControl')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/MergeWidget.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/MergeWidget.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/MergeWidget.cs index 030665b1ec..e60f4bda67 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/MergeWidget.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/MergeWidget.cs @@ -87,7 +87,7 @@ namespace MonoDevelop.VersionControl.Views public void Load (string fileName) { MainEditor.Document.MimeType = DesktopService.GetMimeTypeForUri (fileName); - MainEditor.Document.Text = System.IO.File.ReadAllText (fileName); + MainEditor.Document.Text = Mono.TextEditor.Utils.TextFileReader.ReadAllText (fileName); this.CreateDiff (); Show (); |