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 <llsan@microsoft.com>2019-05-08 16:52:38 +0300
committerLluis Sanchez <llsan@microsoft.com>2019-05-08 16:53:02 +0300
commiteb2d80b13700e86e69f49f39422dcd2c5197f95d (patch)
tree5b1416dba5a7820e772a981eb2e356240039789b /main/src/addins/ChangeLogAddIn
parentdb4b5fa57f7b0332ab9ab6faa96a969d34b426f5 (diff)
Fix scope of GetContent() for several views
Reviewed calls to GetContent and changed several calls to limit the scope to the current active view. For ToolboxService, changed the scope to look for provider in all document. Fixes VSTS #866686 - Xamarin.Forms previewer does not show toolbox content
Diffstat (limited to 'main/src/addins/ChangeLogAddIn')
-rw-r--r--main/src/addins/ChangeLogAddIn/ChangeLogAddIn.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/ChangeLogAddIn/ChangeLogAddIn.cs b/main/src/addins/ChangeLogAddIn/ChangeLogAddIn.cs
index 9a877796cb..028f26b3ea 100644
--- a/main/src/addins/ChangeLogAddIn/ChangeLogAddIn.cs
+++ b/main/src/addins/ChangeLogAddIn/ChangeLogAddIn.cs
@@ -82,7 +82,7 @@ namespace MonoDevelop.ChangeLogAddIn
static void InsertEntry(Document document)
{
- var textBuffer = document.GetContent<TextEditor>();
+ var textBuffer = document.GetContent<TextEditor>(true);
if (textBuffer == null) return;
string changeLogFileName = document.FileName;