CommandsBrowser icon indicating copy to clipboard operation
CommandsBrowser copied to clipboard

Search Core Commands receives unexpected argument

Open Unknow0059 opened this issue 1 year ago • 0 comments

Description of the bug

Lines 2-8 of CommandsBrowser.sublime-commands contain "Search Core Commands", displayed for interaction in the Command Pallette.

If I place that in my .sublime-menu file - for the right click context menu - and click the button, the following error appears:

Traceback (most recent call last):
  File "...\tools\Lib\python38\sublime_plugin.py", line 1657, in run_
    return self.run(**args)
TypeError: run() got an unexpected keyword argument 'event'

Note ... is the installdir for Sublime Text 3.

Steps to reproduce

  1. Copypaste Lines 2-8 into the .sublime-menu file
  2. Click respective button in context menu

Expected behavior

List of Core commands to be shown.

Actual behavior

Error thrown.

Note this doesn't happen with Search Plugin Commands.

CommandsBrowser version

1.5.0

CommandsBrowser settings.

n/a

Unknow0059 avatar Jun 17 '23 06:06 Unknow0059