244 completionsList = self.getCompletionsList(editor, context) |
244 completionsList = self.getCompletionsList(editor, context) |
245 if len(completionsList) > 0: |
245 if len(completionsList) > 0: |
246 completionsList.sort() |
246 completionsList.sort() |
247 editor.showUserList(EditorAutoCompletionListID, |
247 editor.showUserList(EditorAutoCompletionListID, |
248 completionsList) |
248 completionsList) |
249 |
249 |
250 def getCompletionsList(self, editor, context): |
250 def getCompletionsList(self, editor, context): |
251 """ |
251 """ |
252 Public method to get a list of possible completions. |
252 Public method to get a list of possible completions. |
253 |
253 |
254 @param editor reference to the editor object, that called this method |
254 @param editor reference to the editor object, that called this method |