diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-07-07 13:56:56 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2014-07-07 13:56:56 +0400 |
commit | f104d21f040ddb1ababddb3ca270a004566bec9d (patch) | |
tree | 3f28b605d66e4e7531e54970c634c6f465c55131 /main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs | |
parent | a621ccf23dfef7864f450d6e11e54c8bdf35dbe3 (diff) |
[Ide] Renamed DocumentFactory to TextEditorFactory/implemented text
source snapshotting.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs index 5b56d86952..46d9b7bd89 100644 --- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs +++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs @@ -56,8 +56,8 @@ namespace MonoDevelop.Gettext ListStore foundInStore; Catalog catalog; string poFileName; - TextEditor texteditorOriginal = DocumentFactory.CreateNewEditor (); - TextEditor texteditorPlural = DocumentFactory.CreateNewEditor (); + TextEditor texteditorOriginal = TextEditorFactory.CreateNewEditor (); + TextEditor texteditorPlural = TextEditorFactory.CreateNewEditor (); static List<POEditorWidget> widgets = new List<POEditorWidget> (); @@ -474,7 +474,7 @@ namespace MonoDevelop.Gettext void AddTextview (int index) { ScrolledWindow window = new ScrolledWindow (); - var textView = DocumentFactory.CreateNewEditor (); + var textView = TextEditorFactory.CreateNewEditor (); window.Child = textView; textView.TextChanged += delegate { if (this.isUpdating) |