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>2016-07-26 20:25:26 +0300
committerGitHub <noreply@github.com>2016-07-26 20:25:26 +0300
commita6f7a24a9723a2d4f5d33c176615b0d44703ab5b (patch)
tree9b41cce6c1c79dc3a86ab3c12afee4da4fd560a5
parentb4df9f1c0a1a94606c04a670c08b9da2b3d865e0 (diff)
parent9276d1edebdceecf877bfc6910a2d643a3bd5635 (diff)
Merge pull request #1582 from mono/cycle7-sr1-fix42795monodevelop-6.0.2.73cycle7-sr1
Fixed 'Bug 42795 - View >> Focus Document is not functioning.'
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
index d0d6c5a808..60d9f6880e 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
@@ -379,6 +379,8 @@ namespace MonoDevelop.Ide.Commands
protected override void Run ()
{
+ IdeApp.Workbench.ActiveDocument.Select ();
+ IdeApp.Workbench.ActiveDocument.Editor.CenterToCaret ();
IdeApp.Workbench.ActiveDocument.Editor.StartCaretPulseAnimation ();
}