diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2016-07-26 16:50:13 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2016-07-26 16:50:13 +0300 |
commit | 9276d1edebdceecf877bfc6910a2d643a3bd5635 (patch) | |
tree | 9b41cce6c1c79dc3a86ab3c12afee4da4fd560a5 | |
parent | b4df9f1c0a1a94606c04a670c08b9da2b3d865e0 (diff) |
Fixed 'Bug 42795 - View >> Focus Document is not functioning.'
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs | 2 |
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 (); } |