You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the below referenced issue, this updates the `preview` method
documentation to point out that in the case where `list_items` returns
a list of tuples instead of a list of regular values, `preview` will be
called with both the text AND the value instead of just the text.
This is as noted by jrappen in:
sublimehq/sublime_text#2146
The report seems to be based on an incorrect function signature for preview(), where the first parameter was not named self but desc and then not used in the code. Closing as invalid.
Add to the docs that
preview()
insublime_plugin.ListInputHandler
should have two args when using an array of tuples forlist_items()
.Reference example code here.
The text was updated successfully, but these errors were encountered: