|
|
|
@ -67,9 +67,6 @@ namespace ICSharpCode.ILSpy.Commands
@@ -67,9 +67,6 @@ namespace ICSharpCode.ILSpy.Commands
|
|
|
|
|
DockWorkspace.Instance.Documents.Add(new ViewModels.DecompiledDocumentModel(title, title) { Language = MainWindow.Instance.CurrentLanguage, LanguageVersion = MainWindow.Instance.CurrentLanguageVersion }); |
|
|
|
|
DockWorkspace.Instance.ActiveDocument = DockWorkspace.Instance.Documents.Last(); |
|
|
|
|
MainWindow.Instance.SelectNodes(nodes); |
|
|
|
|
MainWindow.Instance.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Background, (Action)delegate { |
|
|
|
|
DockWorkspace.Instance.GetTextView().DecompileAsync(MainWindow.Instance.CurrentLanguage, nodes, new DecompilationOptions()); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|