diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2016-07-26 20:25:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 20:25:26 +0300 |
commit | a6f7a24a9723a2d4f5d33c176615b0d44703ab5b (patch) | |
tree | 9b41cce6c1c79dc3a86ab3c12afee4da4fd560a5 | |
parent | b4df9f1c0a1a94606c04a670c08b9da2b3d865e0 (diff) | |
parent | 9276d1edebdceecf877bfc6910a2d643a3bd5635 (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.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 (); } |