Sublime Forum

show_quick_panel parameter incorrect in documentation

#1

In the documentation (http://www.sublimetext.com/docs/3/api_reference.html#sublime.Window), the signature states that the parameter for the callback which is invoked each time a new item is highlighted is on_highlighted. However, through experimentation with ST3, I have discovered that the actual parameter name is on_highlight.

I’m not sure if someone here is able to update the docs, but if not, I hope that someone finds that useful (or that it avoids frustrated banging on the keyboard when Python reports no named parameter “on_highlighted”).

0 Likes