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:
authorMike Krüger <mikkrg@microsoft.com>2019-06-06 10:32:04 +0300
committerMike Krüger <mikkrg@microsoft.com>2019-06-11 10:55:24 +0300
commitc646066e28b9b49a3ea4c45ac241e653155e5610 (patch)
treec1ae74a11cf16632c707655a8e60fcd04a914a50 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor
parent27b94ad8a66d40eb6371421fd18e2a9710f5c246 (diff)
[Ide] Set the style parent correctly on initialize.
Formatting settings may be messed up - this sets the correct ones on load. The new document model changes caused to set wrong editor settings on load.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditorViewContent.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditorViewContent.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditorViewContent.cs
index 722bec1400..9744c4cc2d 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditorViewContent.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditorViewContent.cs
@@ -88,6 +88,7 @@ namespace MonoDevelop.Ide.Editor
await Init (editor, impl);
HasUnsavedChanges = impl.IsDirty;
+ await UpdateStyleParent (Owner, editor.MimeType, default);
// Editor extensions can provide additional content
NotifyContentChanged ();