MCPcopy
hub / github.com/unbug/codelf / run

Method run

Mdnsearch.py:42–49  ·  view source on GitHub ↗
(self, edit)

Source from the content-addressed store, hash-verified

40
41class 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)

Callers

nothing calls this directly

Calls 1

SearchForFunction · 0.85

Tested by

no test coverage detected