The code editor will not open for GHGL components in Grasshopper. Double clicking does not work. Selecting “Edit code” from the right click menu does not open the code editor.
Python and C# components open the code editor, no problem with the double click method. Standard behavior.
I have “repaired” the WIP installation via Windows, restarted, no change.
The code editor does not open on a GL Mesh Shader, either with double click or with the menu selection. The code editor opens fine on Python and C# components.
It worked as expected on previous WIP releases.
The GL shaders work just fine, just the code editor is not opening.
Noticed this crash dump on my desktop afterwards, looks related:
RhinoDotNetCrash.txt
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: ‘System.Threading.Tasks.Task Ed.Eto.Ed.RegisterProvideCompletionsAsync(System.Func4<System.String,Int32,Char,System.Threading.Tasks.Task1<System.Collections.Generic.List1<System.String>>>, System.Collections.Generic.List1)’.
at ghgl.GLSLEditorDialog.ShowTab(ShaderType type)
at ghgl.GLSLEditorDialog..ctor(GLSLViewModel model, Boolean includeTessellationShaders, String componentName)
at ghgl.GLShaderComponentBase.OpenEditor()
at ghgl.GLShaderComponentBase.b__34_0(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
[END ERROR]
Re-assigned the ticket to me. Looks like this is a regression related to recent changes in editor control shared between the new script editor and legacy ones. Will look into it and push a fix.