diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-22 19:15:13 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-04-22 19:15:13 +0400 |
commit | fd6db1d695c8d131a12b2cf5386b653893b91ce8 (patch) | |
tree | ae1e03bbf2f0b6e4cec9c571eea31390e6394ea8 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs | |
parent | 9ff5ce4db0dad4c541c7b21bd0fe611c685ebea8 (diff) |
[Ide] Use internal editor if that's the user's intent
If the user passes a file on the commandline, or opens it
with the "open" dialog, always use an internal editor. Using
an external editor is just confusing.
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 | 2 |
1 files changed, 1 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..9ba7974bee 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs @@ -98,7 +98,7 @@ namespace MonoDevelop.Ide.Commands IdeApp.Workspace.OpenWorkspaceItem (file, dlg.CloseCurrentWorkspace); } else - IdeApp.Workbench.OpenDocument (file, dlg.Encoding); + IdeApp.Workbench.OpenDocument (file, null, dlg.Encoding, OpenDocumentOptions.DefaultInternal); } } |