diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-04-02 18:25:43 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2014-04-02 18:25:43 +0400 |
commit | b1e29c52195bcc083f6a2ef3a35037479d96174d (patch) | |
tree | f19a2fab04319c3f7cce7f04e424a8fd66b51a2d /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs | |
parent | 15649ed717a18790ffdb5afd6757fac5b1b95499 (diff) |
[Ide] Added basic text editor model.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs index 2436ecfc26..31e6ef5bda 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs @@ -38,6 +38,7 @@ using Gtk; using MonoDevelop.Ide.Projects; using MonoDevelop.Ide.Desktop; using System.Linq; +using MonoDevelop.Components; namespace MonoDevelop.Ide.Commands { @@ -365,7 +366,7 @@ namespace MonoDevelop.Ide.Commands protected override void Run (object dataItem) { string filename = (string)dataItem; - Gdk.ModifierType mtype = Mono.TextEditor.GtkWorkarounds.GetCurrentKeyModifiers (); + Gdk.ModifierType mtype = GtkWorkarounds.GetCurrentKeyModifiers (); bool inWorkspace = (mtype & Gdk.ModifierType.ControlMask) != 0; IdeApp.Workspace.OpenWorkspaceItem (filename, !inWorkspace); } |