Feature request - add Save SubTree option to the node popup menu.
See original GitHub issueSuppose I want to analyze a subtree. I sometime copy it and paste in Notepad++, because I could then leverage search in Notepad++, which is more powerful than the built-in search.
However, this does not work well for very large subtrees:
Unexpected exception. Sorry about that.
Please Ctrl+C to copy this text and file an issue at https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/new
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at ICSharpCode.AvalonEdit.Highlighting.HtmlClipboard.CreateHtmlFragment(IDocument document, IHighlighter highlighter, ISegment segment, HtmlOptions options)
at ICSharpCode.AvalonEdit.Editing.Selection.CreateHtmlFragment(HtmlOptions options)
at ICSharpCode.AvalonEdit.Editing.Selection.CreateDataObject(TextArea textArea)
at ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.CopySelectedText(TextArea textArea)
at ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.OnCopy(Object target, ExecutedRoutedEventArgs args)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at StructuredLogViewer.Controls.TextViewerControl.copyMenu_Click(Object sender, RoutedEventArgs e) in C:\MSBuildStructuredLog\src\StructuredLogViewer\Controls\TextViewerControl.xaml.cs:line 264
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Having this option solves the problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How to copy part of a Treeview to a Menu
You should add sub menu items to the last menu item created. Hereby an alternative approach, making use of TTreeNode.
Read more >Add the option in system menu block to "Expand all items ...
Problem/Motivation. Right now using the core menu block subtrees aren't show unless they are in the active trail.
Read more >Menu buttons should be separated into menu items as nodes
I want to create a editor however I find that menu buttons are not very well thought out. first of all they require...
Read more >NodeCanvas - (Behaviour Trees | State Machines
NodeCanvas - (Behaviour Trees | State Machines | Dialogue Trees) ... can't find the “Convert To SubTree” option when right clicking a node....
Read more >Inspector. Close the context menu after click by item
I think the context menu should close after click :thinking: ... maybe we can add an extra option “closeAfterClick” on the entry to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seems to work fine. I copied a subtree with 77K lines without any problems.
For now. I want to publish the latest batch in a few days to save people from updating needlessly.