I have two questions about quick panel API in Sublime Text 2.
1) How can I update the items being shown in quick panel
Say for example, I am using the following command to display the contents of list/array itemsList in quick panel.
I want that when the contents of itemsList are changed, the contents being shown in quick panel should change.
What I am doing right now is when the list itemsList is updated, I call show_quick_panel once again to show the new contents, but what that does is it opens two quick panels. Hence my question that how can I update the quick panel to show contents of itemsList here.
2) In case contents cannot be updated, can I close the quick panel programmatically?