When attempting to use the ‘on_highlighted’ keyword argument documented for window.show_quick_panel method, I get the error show_quick_panel() got an unexpected keyword argument 'on_highlighted'. Please advise?
Show_quick_panel() got an unexpected keyword argument 'on_highlighted'
nbeversl
#1
0 Likes
nbeversl
#2
On a hunch I tried the keyword on_highlight and this works, but doesn’t match the docs.
0 Likes
Yes. There are differences. The documentation is not correct on that one unfortunately

The correct argument names of course can be found in sublime.py
def show_quick_panel(self, items, on_select, flags=0, selected_index=-1, on_highlight=None, placeholder=None):
1 Like