(self, edit)
| 40 | |
| 41 | class CodelfSelectionCommand(sublime_plugin.TextCommand): |
| 42 | def run(self, edit): |
| 43 | for selection in self.view.sel(): |
| 44 | # if the user didn't select anything, search the currently highlighted word |
| 45 | if selection.empty(): |
| 46 | text = self.view.word(selection) |
| 47 | |
| 48 | text = self.view.substr(selection) |
| 49 | SearchFor(text) |
nothing calls this directly
no test coverage detected