mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Right-clicking inside the details editor inherited the metadata grid's cell-oriented context menu, whose Copy entries are enabled only for a hovered DataGridCell -- inside the details area there is none, so the menu showed permanently disabled entries and selected text could not be copied by mouse. The editor now carries the decompiler view's editor menu shape: Copy (rich HTML copy with plain fallback, enabled while a selection exists) and Select All. Enablement is decided in ContextMenu.Opening, which only the context-request gesture raises; the test therefore raises ContextRequested instead of calling Open(). Assisted-by: Claude:claude-fable-5:Claude Codepull/3945/head
2 changed files with 77 additions and 0 deletions
Loading…
Reference in new issue