External tool that uses input Current word throws exception
- Define an external tool that uses input as 'Current word'. For example:
#!/bin/sh ls ~ -l
- Run the tool with nothing selected (from the menu: Tools -> External Tools -> New tool)
You get the error:
File "/usr/local/lib/gedit/plugins/externaltools/functions.py", line 294, in capture_menu_action run_external_tool(window, panel, node) File "/usr/local/lib/gedit/plugins/externaltools/functions.py", line 193, in run_external_tool panel.command_tag) AttributeError: 'OutputPanel' object has no attribute 'command_tag'
This can be reproduced with gedit 3.32.0 and git master