Home Download Buy Blog Forum Support

show_quick_panel parameter incorrect in documentation

show_quick_panel parameter incorrect in documentation

Postby phpmycoder on Fri Jun 13, 2014 2:04 pm

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").
Posts: 1
Joined: Fri Jun 13, 2014 1:58 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests