GlobalSearchPluginInstance.onEditorMenu method
GlobalSearchPluginInstance › onEditorMenu
Unofficial
Adds a "Search in selection" item to the editor context menu.Signature:
onEditorMenu(menu: Menu, editor: Editor): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| menu | Menu | The menu to add to. |
| editor | Editor | The editor the menu was opened in. |
Returns: void